A drop failed for Availability Group message can describe a partial removal, where SQL Server and Windows clustering no longer agree. The tests here read the HADR state, show what errors 41000 and 41081 say and prove that SET ONLINE cannot open a database that sits in RESTORING.
SQL SERVER – Reviewing Sleeping Sessions Before Terminating Any Session
An inactive or sleeping session may still be a useful pooled connection. A customer case prompted my earlier session-cleanup script.
Listing Databases Below the Server’s Native Compatibility Level
Find databases below the native compatibility level, generate reviewable ALTER statements, and prepare Query Store checks safely.
Binary Collations: Byte-Order Sorting and Exact String Matches
Learn how a binary collation changes SQL Server sorting, exact string comparisons, index access, and column metadata checks.
Listing Non-Default Server Settings From sys.configurations
Inventory non-default server settings with a versioned baseline, compare configured and active values, and keep the review read-only.






