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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Is it possible to copy SPs from one db to another

Author  Topic 

cplusplus
Aged Yak Warrior

567 Posts

Posted - 2010-03-16 : 13:05:07
Is it possible to copy SPs from one db to another db on the same server using any sql commands?

I have the following in db1 database, want to copy them to db2.

USP_GetAllElements
USP_NewElementMaster
USP_UpdateElementMaster
USP_GetthisElement
USP_GetElementContracts
USP_GetDDLCtrbyElement

Really appreceate for the helpful information.

Thank you.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-03-16 : 13:10:00
either script out sps and apply in other db or transfer db objects tasks

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -