Deploying a hybrid AlwaysOn availability group across on-premises and Azure, adding a replica failed with error 19456. Here is what fixed it.
How to Add Date to Database Backup Filename? – Interview Question of the Week #109
A reader using Backup to URL asked how to add the date to a Database Backup Filename. Here is a script that builds the name for you.
New AD Domain: Moving an AlwaysOn Availability Group Node by Node
After an acquisition, my client had to move an AlwaysOn availability group to a new AD domain. These are the 12 steps I shared, moving one node at a time from DomainOld to DomainNew.
SQL SERVER – Puzzle – Why does sp_spaceused Show No Values?
Why does sp_spaceused show no values for a table that clearly has rows? It stumped me for 10 minutes. Here is the puzzle, try it before reading on.
SQL SERVER – SQL Server: Getting OS information using DMV
Need the Windows version SQL Server runs on? Get OS information with the sys.dm_os_windows_info DMV, or read it from the ERRORLOG at startup.




