1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-25 21:28:47 -05:00

PM-20574 fixing sql file

This commit is contained in:
Graham Walker 2025-06-13 13:45:38 -05:00
parent f0e709dc0f
commit 093731bbb6
No known key found for this signature in database

View File

@ -0,0 +1,17 @@
CREATE PROCEDURE [dbo].[OrganizationReport_ReadById]
@Id UNIQUEIDENTIFIER
AS
SET NOCOUNT ON;
IF @Id IS NULL
THROW 50000, 'Id cannot be null', 1;
SELECT
[Id],
[OrganizationId],
[Date],
[ReportData],
[CreationDate],
[RevisionDate]
FROM [dbo].[OrganizationReport]
WHERE [Id] = @Id;