Groups | Blog | Home
all groups > sql server (microsoft) > december 2005 >

sql server (microsoft) : How to Create Stored Procedure In MS SQL 2005?


joey.powell NO[at]SPAM topscene.com
12/27/2005 11:28:05 AM
Hello,

When I type my transact SQL code (or copy it from another database)
into a "New Stored Procedure..." window, I can only save it as a .SQL
file. Why doesn't it let me save it as a stored procedure within the
database? After all, that is what I chose to open... the "New Stored
Procedure..." window!
SQL
12/28/2005 11:00:49 AM
you have to run the code
hit F5 or click on execute (!)

http://sqlservercode.blogspot.com/
David Portas
12/29/2005 6:39:07 PM
[quoted text, click to view]

Click Execute or F5.

You should still save the file. Always keep a copy of your source code,
preferably in a source control system.

--
David Portas
SQL Server MVP
--

AddThis Social Bookmark Button