Patching SQL Server 2005 on a cluster failed with ‘Data source name not found and no default driver specified’. What caused it for a reader and the fix.
Nullable Foreign Keys: Optional Relationships and Outer Joins
A nullable foreign key lets a row say no relationship yet. I show what the constraint checks, why an inner join drops those rows, and where WHERE bites.
SQL SERVER Puzzle – Conversion with Date Data Types
Converting values with CAST can round in ways you don’t expect. A puzzle on Date Data Types: guess the output of each query before you run it.
Create an Azure VM for SQL Server Using the Portal
To create an Azure VM for SQL Server, pick a SQL Server image in the portal, size the machine, and set the network and SQL options before you press Create. This post walks through each portal tab, explains which choices are hard to change later, and ends with three T-SQL checks to run once you are connected. It also covers the cost of leaving the machine running.
query_store_query_text: Searching Query History by Statement Text
A LIKE search on Query Store text is a good first step, but one search found four statements, including itself. I show how to narrow it down to the real history.






