Quantcast
Viewing latest article 5
Browse Latest Browse All 11

AlwaysON job active-Passive

You either use the code supplied by Tom, OR, you can use mine. Both will work well for testing if a database is "primary" on node. Main difference is that mine tests that the database is primary AND database is writeable.

Regards,
Mark Broadbent.
Microsoft Certified Master | Microsoft Data Platform MVP
Contact me through twitter | blog | sqlcloud


Please click "Propose as answer" if a post solves your problem
or/and vote the post up if it has been helpful.

Interested in attending a free training? Why not attend SQLSaturday Cambridge and SharePoint Saturday Cambridge? And why not check out my Ultimate Training Resources Page?

I understood thanks

Viewing latest article 5
Browse Latest Browse All 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>