mirror of
https://github.com/bitwarden/server.git
synced 2025-06-26 05:38:47 -05:00
PM-20574 fixing sql file
This commit is contained in:
parent
f0e709dc0f
commit
093731bbb6
@ -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;
|
Loading…
x
Reference in New Issue
Block a user