Remove sqlDropStoredProc snippet which conflicts with DESC keyword (#25997)
This commit is contained in:
Родитель
b6a2f57490
Коммит
46f4a97ea3
|
@ -185,22 +185,6 @@
|
|||
"description": "Create a stored procedure"
|
||||
},
|
||||
|
||||
"Drop a stored procedure": {
|
||||
"prefix": "sqlDropStoredProc",
|
||||
"body": [
|
||||
"-- Drop the stored procedure called '${1:StoredProcedureName}' in schema '${2:dbo}'",
|
||||
"IF EXISTS (",
|
||||
"SELECT *",
|
||||
"\tFROM INFORMATION_SCHEMA.ROUTINES",
|
||||
"WHERE SPECIFIC_SCHEMA = N'${2:dbo}'",
|
||||
"\tAND SPECIFIC_NAME = N'${1:StoredProcedureName}'",
|
||||
")",
|
||||
"DROP PROCEDURE ${2:dbo}.${1:StoredProcedureName}",
|
||||
"GO"
|
||||
],
|
||||
"description": "Drop a stored procedure"
|
||||
},
|
||||
|
||||
"List tables": {
|
||||
"prefix": "sqlListTablesAndViews",
|
||||
"body": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче