Skip to content

Commit 8f1765b

Browse files
committed
fix stored proc
1 parent ebce590 commit 8f1765b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

WebAPI/LearningHub.Nhs.Database/Stored Procedures/Activity/GetResourceActivityPerResourceMajorVersion.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@
3131

3232
-------------------------------------------------------------------------------
3333

34-
34+
-- Create the new stored procedure
35+
CREATE PROCEDURE [activity].[GetResourceActivityPerResourceMajorVersion]
36+
@ResourceIds VARCHAR(MAX) = NULL,
37+
@UserIds VARCHAR(MAX) = NULL
38+
AS
39+
BEGIN
3540

3641
-- Split the comma-separated list into a table of integers
3742
DECLARE @ResourceIdTable TABLE (ResourceId INT);

0 commit comments

Comments
 (0)