sql server 2012 create or alter procedure

Solutions on MaxInterview for sql server 2012 create or alter procedure by the best coders in the world

showing results for - "sql server 2012 create or alter procedure"
Matteo
21 Jul 2016
1IF OBJECT_ID('spCallSomething') IS NULL
2    EXEC('CREATE PROCEDURE spCallSomething AS SET NOCOUNT ON;')
3GO
4
5ALTER PROCEDURE spCallSomething ... 
6--instead of DROP/CREATE