Commit bb49709
sp_Blitz: skip AG/cluster and master.sys.master_files checks on Azure SQL DB
Second round of Copilot review on BrentOzarULTD#3951 flagged three more CheckIDs
that will error on Azure SQL Database:
- CheckID 53 (Cluster Node) - queries sys.dm_hadr_availability_replica_
cluster_states and SERVERPROPERTY('IsHadrEnabled'/'IsClustered'), none
of which are available on Azure SQL DB.
- CheckID 234 (SQL Server Update May Fail) - queries master.sys.master_files
via three-part name.
- CheckID 268 (AG Replica Falling Behind) - queries
sys.dm_hadr_database_replica_states, sys.availability_replicas, and
sys.availability_groups, none of which exist on Azure SQL DB.
Also broadened the section comment from "Replication / mirroring / AGs" to
include "clustering" to match the expanded list.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 660fb65 commit bb49709
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
| 1000 | + | |
| 1001 | + | |
1001 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
1002 | 1005 | | |
1003 | 1006 | | |
1004 | 1007 | | |
| |||
0 commit comments