Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to copy all the stored procedure between two databases?

Status
Not open for further replies.

nowayout

Programmer
Feb 25, 2003
364
US
Hi all,

I am having trouble copying all the store procedure between two database.

is there a way to do it.?

thanks
 
You could highlight all of the scripts you are after, in Enterprise Manager, then right-click and choose "generate script". Take the sql file created and run it in Query Analyzer on the target machine.

In DTS choose "Copy SQL Server Object Task".

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top