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:
01150524
Views:
37
>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).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform