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
 SQL Server Administration (2005)
 Restore without overwriting sprocs...

Author  Topic 

danielc
Starting Member

49 Posts

Posted - 2009-12-15 : 12:27:04
Hello all,

Is there a way to restore a database without overwriting stored procedures? I would like to only restore the data but not have to overwrite the sprocs.

Thank you,

Daniel

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-15 : 12:33:41
No, a restore overwrites everything. Save your objects out, run the restore, and then run your script to reapply the objects.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -