Skip to content

Instantly share code, notes, and snippets.

@OliverRC
Created October 25, 2013 11:23
Show Gist options
  • Save OliverRC/7153161 to your computer and use it in GitHub Desktop.
Save OliverRC/7153161 to your computer and use it in GitHub Desktop.
Stored Procedure Template
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