Determine that a database is currently mirroring or not?
-
25-09-2019 - |
Question
Is there a T-SQL script to determine a database is currently mirroring or not? Is there a way to determine its partner?
Thank you very much.
Solution
The system view / catalog sys.database_mirroring gives a comphrehensive breakdown of the fields available. http://msdn.microsoft.com/en-us/library/ms178655.aspx
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow