mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
17 lines
306 B
MySQL
17 lines
306 B
MySQL
|
CREATE OR ALTER PROCEDURE [dbo].[Transaction_ReadByProviderId]
|
||
|
@ProviderId UNIQUEIDENTIFIER,
|
||
|
@Limit INT
|
||
|
AS
|
||
|
BEGIN
|
||
|
SET NOCOUNT ON
|
||
|
|
||
|
SELECT
|
||
|
TOP (@Limit) *
|
||
|
FROM
|
||
|
[dbo].[TransactionView]
|
||
|
WHERE
|
||
|
[ProviderId] = @ProviderId
|
||
|
ORDER BY
|
||
|
[CreationDate] DESC
|
||
|
END
|