The SQL Booklet

SQL Server

SQL Server for every day

Find syntax, examples, and queries for exploring real databases and diagnosing problems.

126
topics
41
references
85
cases and articles
Digital library of SQL Server queries, results, and reference articles

SQL Server in practice

SQL Server for every day.

Syntax, examples, and queries for development, database exploration, and real-world problem solving. Each topic explains the code, shows its result, and highlights what matters when interpreting it.

SQL Server

Look up, explore, and troubleshoot.

View the SQL Server catalog

The library

Paths for working with SQL Server.

The catalog groups each topic by the task at hand: looking up syntax, understanding a database, investigating a signal, or learning to read a plan.

Path 1

Practical reference

Keywords, operators, and functions explained.

  • 41 reference topics
  • 10 applied examples
  • Syntax and checks
Explore reference and cases

Path 2

Development and exploration

Queries for understanding structures, relationships, dependencies, and data.

  • 22 queries
  • Controlled exploration
  • Everyday working cases
Explore development

Path 3

Troubleshooting and optimization

Queries for reviewing sessions, blocking, indexes, memory, and performance.

  • 23 queries
  • Operational investigation
  • Reading evidence
Explore troubleshooting

Path 4

Execution plans

A progressive path for reading operators, properties, and signals in SQL Server.

  • 30 articles
  • Reading the tree and its operators
  • Evidence before optimization
Explore execution plans