-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for sys.sp_reset_connection stored procedure
- Loading branch information
Sharath BP
committed
Aug 2, 2024
1 parent
245d7ce
commit 7d70d95
Showing
9 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
CREATE TABLE #babel_temp_table (ID INT identity(1,1), Data INT) | ||
INSERT INTO #babel_temp_table (Data) VALUES (100), (200), (300) | ||
GO | ||
~~ROW COUNT: 3~~ | ||
|
||
|
||
SELECT * from #babel_temp_table | ||
GO | ||
~~START~~ | ||
int#!#int | ||
1#!#100 | ||
2#!#200 | ||
3#!#300 | ||
~~END~~ | ||
|
||
|
||
EXEC sys.sp_reset_connection | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Invalid object name 'sp_reset_connection')~~ | ||
|
||
|
||
SELECT * from #babel_temp_table | ||
Go | ||
~~START~~ | ||
int#!#int | ||
1#!#100 | ||
2#!#200 | ||
3#!#300 | ||
~~END~~ | ||
|
12 changes: 12 additions & 0 deletions
12
test/JDBC/input/storedProcedures/Test-sp_reset_connection.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE #babel_temp_table (ID INT identity(1,1), Data INT) | ||
INSERT INTO #babel_temp_table (Data) VALUES (100), (200), (300) | ||
GO | ||
|
||
SELECT * from #babel_temp_table | ||
GO | ||
|
||
EXEC sys.sp_reset_connection | ||
GO | ||
|
||
SELECT * from #babel_temp_table | ||
Go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters