Microsoft SQL Server: Engineering for Production

T-SQL, execution plans, Always On and the operational practice that keeps an enterprise workload honest.

Taught by Noshad Alam 7 lessons 39 min Published 30 Nov 2026

SQL Server is the relational engine most likely to be running the business systems you have never been shown. It has been in continuous development since 1989, which means it carries both an unusually complete feature set and a layer of historical behaviour you have to know about - recovery models that silently decide whether your log backups are possible, a default isolation level that takes shared locks and blocks readers, and a `tempdb` that is a shared resource every query competes for.

Overview

This course treats it as an engineering subject. You will design competing schemas and argue for one. You will read an actual execution plan rather than guessing, and meet parameter sniffing - where the same query is fast for one customer and catastrophic for another because the plan was compiled for the wrong one. You will configure Always On availability groups, perform a point-in-time restore from a log chain, and write down the security model a production deployment actually requires.

Seven modules, about 110 hours including laboratory work. Every module carries a worked T-SQL example and an assessed laboratory. The capstone is an enterprise sales warehouse carrying both operational transactions and reporting, with a tested failover plan.

Introduction

This course assumes the programme's shared foundations and introductory SQL. It assumes no prior SQL Server.

You need an instance you can break. **SQL Server 2022 Developer Edition is free** and is feature-identical to Enterprise - use it rather than Express, whose 10 GB database limit and absent Agent will get in the way from Module 4 onwards. It runs in a container on any platform: `docker run -e ACCEPT_EULA=Y -e MSSQL_SA_PASSWORD=... -p 1433:1433 mcr.microsoft.com/mssql/server:2022-latest`. SSMS is Windows-only; **Azure Data Studio** and the `sqlcmd` tool work everywhere and are what this course uses.

One expectation. SQL Server's defaults are the oldest thing about it. `READ COMMITTED` here takes shared locks and blocks readers behind writers, which is not what PostgreSQL does with the same name. The `FULL` recovery model is the default and will grow your transaction log until the disk fills if you never take a log backup. These are not bugs; they are 1990s decisions preserved for compatibility, and knowing which defaults to change is a large part of knowing the product.

What you will be able to do

  • Provision an instance and document its configuration, including the settings whose defaults are wrong
  • Choose between competing schema designs and defend the choice against access patterns
  • Use T-SQL deliberately, including APPLY, window functions and temporal tables
  • Write procedures with correct error handling, and say why TRY CATCH alone is not enough
  • Explain SQL Server's locking and row-versioning isolation, and choose between them with evidence
  • Read an execution plan and identify the operator that is actually costing the time
  • Diagnose parameter sniffing and apply the right remedy for the case
  • Choose between rowstore and columnstore for a stated workload
  • Design a backup strategy from the recovery model up, and perform a point-in-time restore
  • Configure an Always On availability group and test a failover
  • Implement least privilege with logins, users, roles and row-level security
  • Produce a deployment checklist covering TDE, auditing, tempdb, Agent jobs and Azure SQL differences

What each level covers

5 levels · 7 lessons

  1. Beginner - Foundations

    An instance configured properly, and a schema whose rules the engine enforces.

    2 lessons 11 min of reading

    Start with Editions, Instances and the T-SQL Type System →
  2. Intermediate - Application Behaviour

    Procedures with error handling that actually works, and the locking model your application has to be written around.

    1 lesson 6 min of reading

    Start with T-SQL Programming, Transactions and Isolation →
  3. Advanced - Performance and Reliability

    Plans, statistics and the parameter sniffing that makes one query two different queries; then backups that restore and a failover you have tested.

    2 lessons 12 min of reading

    Start with Indexes, Plans, Query Store and Parameter Sniffing →
  4. Expert - Security and Production Architecture

    Least privilege that survives contact with an application, and the operational surface a production instance actually has.

    1 lesson 7 min of reading

    Start with Security, Auditing and Operations →
  5. Capstone

    One system carrying both transactions and reporting, with a failover you have performed.

    1 lesson 3 min of reading

    Start with Capstone - An Enterprise Sales Warehouse →

Guides and articles

Longer reading about this subject, written alongside the course.

Course guide How to work through this course The order the modules build in, the defaults to change on day one, and the habits that separate using SQL Server from engineering with it. 3 min read

Before you start

  • SQL Server 2022 Developer Edition, in a container or on a VM
  • sqlcmd, and Azure Data Studio or SSMS
  • One programming language with a SQL Server driver
  • Introductory SQL before Module 2
  • The programme's shared foundations

Common questions

What does the Microsoft SQL Server: Engineering for Production course cover?
It is 5 levels and 7 lessons: Beginner - Foundations; Intermediate - Application Behaviour; Advanced - Performance and Reliability; Expert - Security and Production Architecture; Capstone. Each level ends with a quiz, and the last one is an exam over the whole course.
How long does it take?
About 39 minutes of reading and exercises - roughly 0.7 hours. It is self-paced with no cohort and no start date, so you can leave and come back and the site remembers where you were.
What do I need to know first?
SQL Server 2022 Developer Edition, in a container or on a VM. sqlcmd, and Azure Data Studio or SSMS. One programming language with a SQL Server driver. Introductory SQL before Module 2. The programme's shared foundations.
Is it free?
Yes. Every lesson, example and quiz in this course is free to read, and you do not need an account to read them. Signing in only adds progress tracking and quiz results.
What will I be able to do afterwards?
Provision an instance and document its configuration, including the settings whose defaults are wrong. Choose between competing schema designs and defend the choice against access patterns. Use T-SQL deliberately, including APPLY, window functions and temporal tables. Write procedures with correct error handling, and say why TRY CATCH alone is not enough. Explain SQL Server's locking and row-versioning isolation, and choose between them with evidence. Read an execution plan and identify the operator that is actually costing the time. Diagnose parameter sniffing and apply the right remedy for the case. Choose between rowstore and columnstore for a stated workload. Design a backup strategy from the recovery model up, and perform a point-in-time restore. Configure an Always On availability group and test a failover. Implement least privilege with logins, users, roles and row-level security. Produce a deployment checklist covering TDE, auditing, tempdb, Agent jobs and Azure SQL differences.