Always On Availability Groups Functions (Transact-SQL)

 

THIS TOPIC APPLIES TO: yesSQL Server (starting with 2012)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

SQL Server provides the following Always On Availability Groups functions.

sys.fn_hadr_is_primary_replica

sys.fn_hadr_backup_is_preferred_replica

sys.fn_hadr_distributed_ag_replica

sys.fn_hadr_distributed_ag_database_replica

Community Additions

ADD
Show: