Created
February 18, 2014 12:41
-
-
Save OliverRC/9070201 to your computer and use it in GitHub Desktop.
Creating a Stored Procedure - Drop + Create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF EXISTS(SELECT * FROM sysobjects where id = object_id(N'<schema>.<procedureName>') and OBJECTPROPERTY(id, N'IsProcedure') = 1) | |
DROP PROCEDURE <schema>.<procedureName> | |
GO | |
CREATE PROCEDURE <schema>.<procedureName> <@parameters | |
AS | |
BEGIN | |
END | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment