Why does SQL Server go into script upgrade mode on failover? A SQL Server 2008 R2 cluster did it after every move. Here is why and how to stop it.
The Milestone – Notes from the Field #100
The 100th episode of Notes from the Field is a true milestone. A thank you to the experts who shared real-world lessons with all of us.
Plan Guides: Fixing a Query You Cannot Change
Apply plan guides to a parameterized query you cannot edit, validate the guide, confirm plan matching, and compare Query Store hints.
SQL SERVER – Strange SQL Transaction called UpdateLoginStats
Profiler showed a SQL transaction called UpdateLoginStats before every Audit Login. The cause was the Common Criteria Compliance option I had turned on.
SQL SERVER – To Find Events Mapped to Channels in Extended Events
How exhaustive are Extended Events compared to Profiler? A DBA asked me, so here is how to find events mapped to channels in Extended Events.
Interview Question of the Week #040 – Difference Between Unique Index vs Unique Constraint
Compare index vs unique constraint behavior, test filtered uniqueness and NULLs, inspect catalog flags, and remove each object correctly.







