Skip to content

Commit 864170c

Browse files
authored
Remove sqlDropStoredProc snippet which conflicts with DESC keyword (#18319)
1 parent 0eabc8a commit 864170c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

snippets/mssql.json

-16
Original file line numberDiff line numberDiff line change
@@ -205,22 +205,6 @@
205205
"description": "Create a stored procedure"
206206
},
207207

208-
"Drop a stored procedure": {
209-
"prefix": "sqlDropStoredProc",
210-
"body": [
211-
"-- Drop the stored procedure called '${1:StoredProcedureName}' in schema '${2:SchemaName}'",
212-
"IF EXISTS (",
213-
"SELECT *",
214-
"\tFROM INFORMATION_SCHEMA.ROUTINES",
215-
"WHERE SPECIFIC_SCHEMA = N'${2:SchemaName}'",
216-
"\tAND SPECIFIC_NAME = N'${1:StoredProcedureName}'",
217-
")",
218-
"DROP PROCEDURE ${2:SchemaName}.${1:StoredProcedureName}",
219-
"GO"
220-
],
221-
"description": "Drop a stored procedure"
222-
},
223-
224208
"Create a view": {
225209
"prefix": "sqlCreateView",
226210
"body": [

0 commit comments

Comments
 (0)