Skip to content

Commit e6b25fc

Browse files
committed
Fix stored procedures script for MSSQL
1 parent d6c36d7 commit e6b25fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/resources/create_stored_procedures_mssql.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ END;
3838
DROP PROCEDURE IF EXISTS check_condition;
3939
CREATE PROCEDURE check_condition
4040
AS
41-
DECLARE @v_condition BIT = 1;
41+
BEGIN
42+
DECLARE @v_condition BIT;
43+
SET @v_condition = 1;
4244
IF @v_condition = 1
4345
BEGIN
4446
PRINT 'Condition is true';

0 commit comments

Comments
 (0)