Availability groups or failover cluster instances protect different SQL Server boundaries; compare data copies, shared storage, failover, and cost.
SQL SERVER – CTRL+SHIFT+] Shortcut to Select Code Between Two Parenthesis
CTRL+SHIFT+] in SSMS lets you select code between two parenthesis, handy for subqueries and CTEs. Here is how it works at a few cursor positions.
Find SQL Server Installation Date and Time with T-SQL
The SQL Server Installation Date is the create date of the NT AUTHORITY\SYSTEM login, and one short query reads it. This post compares that clue with other dates that look right but aren’t, shows how to work out an Evaluation expiry date, and lists the cases where the clue is wrong.
SQL SERVER – Monitoring SQL Server Database Transaction Log Space Growth – DBCC SQLPERF(logspace) – Puzzle for You
Old but still my favorite: DBCC SQLPERF(logspace) to monitor transaction log space growth, saved with the time of each snapshot. Plus a puzzle for you.
SQL SERVER – Discard Results After Query Execution – SSMS
No results in SSMS, yet the same query works in the app? My friend Ajit hit this, and the cause was the option to discard results after query execution.
SQL SERVER – Validating Spatial Object as NULL using IsNULL
How do spatial functions handle NULL? I show two ways of validating a spatial object as NULL: the IsNULL method, which returns 0 or NULL, and IsValidDetailed.
SQL SERVER – Validating Spatial Object with IsValidDetailed Function
Invalid spatial objects used to give only a simple error. The IsValidDetailed function tells you whether a shape is valid and, when it is not, the reason why.




