Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server 2012 create or alter procedure

IF OBJECT_ID('spCallSomething') IS NULL
    EXEC('CREATE PROCEDURE spCallSomething AS SET NOCOUNT ON;')
GO

ALTER PROCEDURE spCallSomething ... 
--instead of DROP/CREATE
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #server #create #alter #procedure
ADD COMMENT
Topic
Name
9+7 =