Skip to content

Commit 421c27c

Browse files
authoredApr 21, 2020
wrap DROP TABLE with BEGIN/END (sql syntax error on some editors)
wrap DROP TABLE with BEGIN/END (sql syntax error on some editors) Tested on SSMS 2017 & VSCode
1 parent f60e49d commit 421c27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Security Audit/tsqltools_AllInOneSecurityAudit.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ INSERT INTO #result
108108
FROM #datadirectory
109109

110110
IF OBJECT_ID('tempdb.dbo.#StartupType', 'U') IS NOT NULL
111-
DROP TABLE #startuptype
111+
begin DROP TABLE #startuptype end
112112

113113
CREATE TABLE #startuptype (
114114
sqlservice varchar(50),

0 commit comments

Comments
 (0)
Please sign in to comment.