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
 extract procedure code

Author  Topic 

nisar
Starting Member

29 Posts

Posted - 2007-04-02 : 01:38:34
hi anyone can tell me how to extract procedure code from database
nisar

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-04-02 : 01:49:30
use Enterprise Manager (2000)
right click on the procedure - all task - Generate SQL Script

SQL Server Management Studio (2005)
right click on the procedure - script stored procedure as ...


KH

Go to Top of Page

nisar
Starting Member

29 Posts

Posted - 2007-04-02 : 01:54:41
thanks but khtan i m talking about more then 1000 procedure not one procedure we are using sql server 2000
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-04-02 : 01:59:26
then just select all the stored procedure - All Tasks - GENERATE SQL SCRIPT . . .


KH

Go to Top of Page

nisar
Starting Member

29 Posts

Posted - 2007-04-02 : 02:15:56
thanks
Go to Top of Page
   

- Advertisement -