Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Mirroring Failover - Updating Stored Procedures Expand / Collapse
Posted Wednesday, June 4, 2008 3:00 PM


Group: General Forum Members
Last Login: Wednesday, August 14, 2013 10:23 PM
Points: 10, Visits: 414
What's the simplest way of updating all stored procedures that reference the instance name of a partner in a database mirroring setup, so that when there's a failover, all my stored procedures will point to the new principal?

Thanks! :D

Post #511797
Posted Wednesday, June 4, 2008 3:14 PM


Group: General Forum Members
Last Login: Friday, November 21, 2014 6:34 AM
Points: 6,259, Visits: 2,031
Are you including "instancename" in your procedures ?

* Noel
Post #511816
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse