SQL Server Demos

Short explanations of SQL Server problems you’ll meet in production. Each page says what the problem looks like, why it happens, what fixes it and what doesn’t, and gives a query to check your own server.

Every page is backed by a runnable demo in sqlserver-demos on GitHub. The demo reproduces the problem on purpose, measures each fix, and checks its own predictions, and CI reruns the demos on SQL Server 2019, 2022 and 2025. The numbers on these pages were measured, not assumed.

These pages and the demos were written with the help of AI. Every number on them comes from running the demos on SQL Server, not from the AI. See how this was made.

The library

Prefer to start from a symptom? The demos on GitHub are indexed by what you’re seeing.

The demos are tested in a limited, controlled environment and provided as-is. Run them only on a scratch instance. See the full disclaimer.

Verified by MonsterInsights