From 46f4a97ea373601b8d500b7c74d3a1ee98afa884 Mon Sep 17 00:00:00 2001 From: Karl Burtram Date: Fri, 25 Oct 2024 18:03:33 -0700 Subject: [PATCH] Remove sqlDropStoredProc snippet which conflicts with DESC keyword (#25997) --- extensions/mssql/snippets/mssql.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/extensions/mssql/snippets/mssql.json b/extensions/mssql/snippets/mssql.json index 3300b6980cf..1ddcb29523d 100644 --- a/extensions/mssql/snippets/mssql.json +++ b/extensions/mssql/snippets/mssql.json @@ -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": [