Before an upgrade, look for text and image columns, old rules and defaults, and Stretch metadata. These queries show what is there.
Do Queries Always Respect Cost Threshold of Parallelism? – Interview Question of the Week #216
Do queries always respect the Cost Threshold for Parallelism? Not always, and a quick AdventureWorks test with the execution plan shows why.
Plan Cache Size in SQL Server: List Every Cached Plan
Plan cache size shows how much memory each cached query plan takes. This post lists every plan in one database with its size, its text and its execution count. It also explains why the cache entry and the plan itself report different sizes.
Runnable vs Suspended: What Each sp_who2 Status Means
Runnable vs suspended is the question I hear most about the sp_who2 status column. A Runnable session waits for CPU, and a Suspended one waits for a resource such as I/O. Here are all five statuses in plain words.
Watching Many Servers Without Buying Anything
Use scheduled snapshots to monitor SQL Server with central storage, failure reporting, and four focused queries collected every five minutes.
Finding Procedures That Reference Databases That No Longer Exist
Find procedures that reference databases missing from the instance, retain review coverage, and check dynamic SQL and synonyms separately.
Instance Health in One Query: Uptime, Memory, CPU and Waits
Check instance health in one result set with uptime, memory, a recent CPU sample, leading waits, and the user-session count.







