Add Routine_Type to CreateStoredProc fixes #3257 (#3286)

This commit is contained in:
Allen Cook
2018-11-26 18:26:12 -05:00
committed by Karl Burtram
parent 01a03b4c84
commit b45f79a1f8

View File

@@ -163,6 +163,7 @@
"\tFROM INFORMATION_SCHEMA.ROUTINES",
"WHERE SPECIFIC_SCHEMA = N'${2:dbo}'",
"\tAND SPECIFIC_NAME = N'${1:StoredProcedureName}'",
"\tAND ROUTINE_TYPE = N'PROCEDURE'"
")",
"DROP PROCEDURE ${2:dbo}.${1:StoredProcedureName}",
"GO",