title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | dev_langs | |
---|---|---|---|---|---|---|---|---|---|
Always On Availability Groups Functions (Transact-SQL) |
Always On Availability Groups Functions (Transact-SQL) |
MikeRayMSFT |
mikeray |
03/17/2017 |
sql |
system-objects |
reference |
|
[!INCLUDE SQL Server]
[!INCLUDEssNoVersion] provides the following Always On Availability Groups functions.
sys.fn_hadr_is_primary_replica
sys.fn_hadr_backup_is_preferred_replica