Last active
January 22, 2016 22:25
-
-
Save mikaelweave/e37eaeb19a57554a60de to your computer and use it in GitHub Desktop.
Template for a blank MS-SQL (T-SQL) stored procedure.
This file contains hidden or 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 OBJECT_ID('MySproc', 'P') IS NOT NULL | |
DROP PROC MySproc | |
GO | |
CREATE PROC MySproc | |
AS | |
BEGIN | |
[CODE HERE] | |
END |
This file contains hidden or 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
USE database; | |
GO | |
IF OBJECT_ID('dbo.mySproc', 'U') IS NOT NULL DROP TABLE dbo.mySproc; | |
CREATE TABLE dbo.mySproc | |
( | |
[columns here] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment