Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a stored procedure to my database?
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01150504
Message ID:
01150530
Views:
41
This message has been marked as the solution to the initial question of the thread.
>>The book is incorrect. When you follow steps you outlined below, you get a T-SQL template to create a sproc. Keith explained in other thread how to replace template placeholders with values you want. After you do that, you'll have T-SQL script to create the sproc. The sproc itself is a part of the script. You can save script (SAVE) for future modifications. EXECUTE script to add sproc to the database.
>>
>
>I still don't get it. First, I still can't see how to get the "Stored Procedure ... New" window. Secondly, even after I EXECUTE the sproc I see nothing in my Stored Procedures tree. Do I need to specify the name of the database in the stored procedure for that? (which I don't do).

You're excuting script to create sproc in the current database. Did you refresh sproc list in the object explorer?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform