Prem's Learning Blog
This blog is home of my experience,findings and views on Learning New technologies
Friday, 18 August 2017
How to find the Principal Server from Mirror Server in Database Mirroring?
There are instances where you may need to find the principal server from the mirror server.
You can use the below query:
SELECT DISTINCT(mirroring_partner_instance)
FROM sys.database_mirroring
WHERE mirroring_partner_instance IS NOT NULL
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment