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.
Author |
Topic |
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2010-10-15 : 17:51:56
|
I need to create an automated process to refresh procs from one server to another. What are my options?------------------------I think, therefore I am - Rene Descartes |
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2010-10-16 : 00:39:38
|
script them all, then execute the scripts from batch file using SQLCMD, is what I would do. here's a cmdline app you can use to script them: http://www.codeplex.com/scriptdb or you can use the "generate scripts wizard" in SSMS if you like GUIs. elsasoft.org |
|
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2010-10-18 : 09:25:53
|
I need to automate the whole process. The procs at the source get updated all the time. I am thinking of creating a refresh proc which will accept a input parameter (Proc list). Then probably refresh the target procs over a linked server. ------------------------I think, therefore I am - Rene Descartes |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
ravilobo
Master Smack Fu Yak Hacker
1184 Posts |
Posted - 2010-10-19 : 09:23:30
|
Tara, what do you use for source control? How does refreshing work?------------------------I think, therefore I am - Rene Descartes |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2010-10-19 : 15:59:51
|
suggestion i made is easily automatable. both sqlcmd and scriptdb are cmd line apps. cmd line apps are easily automated. elsasoft.org |
|
|
|
|
|