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 |
omnri
Starting Member
5 Posts |
Posted - 2012-03-11 : 23:46:06
|
Hi Gurus,I know you can right-click on the selected VIEW/SP and select CREATE-AS, and you can just copy the generated script. But this has to be done via a SQL Client.What I wish to do is that whenever there is an update on the VIEW/SP by my vendor, I would like to perform the backup of the affected VIEW/SP before running the ALTER VIEW/SP command from my vendor. I wish to do this using script rather than human interface so as to reduce the risk of human errors.Can anyone help? |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2012-03-12 : 06:58:51
|
If you are running backups then you also have saved the views and SPs. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|