I would like to get the following info by TSQL:-
SQL Listener | Availability Replicas | Role |
PSQLXYZ | Server1 | Primary |
PSQLXYZ | Server2 | Secondary |
PSQLXYZ | Server3 | Secondary |
How DO I get it?
Thanks
I would like to get the following info by TSQL:-
SQL Listener | Availability Replicas | Role |
PSQLXYZ | Server1 | Primary |
PSQLXYZ | Server2 | Secondary |
PSQLXYZ | Server3 | Secondary |
How DO I get it?
Thanks