Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Stored Procedure not save within database

Author  Topic 

doro826
Starting Member

5 Posts

Posted - 2007-02-08 : 14:35:27
I am running Sql Server 2005, When I create a new stored procedure and try to save it, I'm prompted with the 'save file as dialog'. Is'nt the stored procedure suppose to be saved within the database?

nr
SQLTeam MVY

12543 Posts

Posted - 2007-02-08 : 14:45:42
You run a create procedure sattement to add the sp to a database.
What you are doing is saving the create script to a file.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2007-02-08 : 14:53:35
But you are trying to save it not execute it. Try alt x to run it.

The other possibility might be that you have the query results set to output to a file - see query, results in the toolbar.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -