mirror of
https://github.com/bitwarden/server
synced 2026-01-07 19:13:50 +00:00
* Implemented tax collection for subscriptions * Cleanup for Sales Tax * Cleanup for Sales Tax * Changes a constraint to an index for checking purposes * Added and implemented a ReadById method for TaxRate * Code review fixes for Tax Rate implementation * Code review fixes for Tax Rate implementation * Made the SalesTax migration script rerunnable
15 lines
267 B
Transact-SQL
15 lines
267 B
Transact-SQL
CREATE PROCEDURE [dbo].[TaxRate_Search]
|
|
@Skip INT = 0,
|
|
@Count INT = 25
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
SELECT * FROM [dbo].[TaxRate]
|
|
WHERE Active = 1
|
|
ORDER BY Country, PostalCode DESC
|
|
OFFSET @Skip ROWS
|
|
FETCH NEXT @Count ROWS ONLY
|
|
END
|
|
GO
|