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
 Copy Views from one db to another

Author  Topic 

jggtz
Starting Member

32 Posts

Posted - 2009-01-08 : 00:42:21
MS SQL 2005
Wich is the best way to copy a sp or a view from one db to another
We have around 250 sp and views
I know how to do it one by one or by using the Tasks/Generate Script wizard also, but implies a lot of work

Thanks in advance!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-08 : 01:54:49
you can use Transfer SQL Server Objects Task in SSIS to achieve this
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-08 : 09:17:56
Generate Script Wizard also works good.
Go to Top of Page
   

- Advertisement -