Synced 17 Jun 2026 22:27 UTC Account
← All patching guides

How to patch Microsoft SQL Server

Microsoft · Database · 6 steps · Microsoft SQL Server security status → · updated June 2026

SQL Server is serviced with Cumulative Updates (CUs) for each major version (Service Packs were retired after SQL 2016). Back up your databases, install the latest CU for your version, and for Always On availability groups patch the secondary first to minimise downtime.

0
actively exploited (KEV)
0
tracked CVEs
17.0.4045.5 CU5
latest supported

Keep Microsoft SQL Server current to stay ahead of new vulnerabilities.

Check your current version first

Before you patch, record what you're running (T-SQL):

SELECT @@VERSION;   —or—   SELECT SERVERPROPERTY('ProductVersion'), SERVERPROPERTY('ProductLevel');

Or paste your version into the checker for an instant verdict.

Step by step

1
Check version, edition and patch level

Run SELECT @@VERSION (or SERVERPROPERTY) to record the major version, edition and current build.

2
Find the latest Cumulative Update

Look up the newest CU for your major version on the Microsoft SQL Server build/version list, and read its notes.

3
Back up databases

Back up all databases (system and user) and ideally snapshot the host before patching.

4
Install the CU

Download the CU from the Microsoft Download Center / Update Catalog and run the installer (GUI or /quiet). Reboot if prompted.

5
Patch AGs secondary-first

For Always On availability groups: patch a secondary replica, fail over to it, then patch the former primary — this keeps downtime to a single failover.

6
Verify the build

Confirm with SELECT SERVERPROPERTY('ProductVersion') that the build advanced to the patched CU.

Watch out for:
  • Service Packs no longer exist for current SQL Server — Cumulative Updates are the servicing model.
  • Always back up databases before a CU; test restores periodically.

Official sources

Don't patch blind. Keep Microsoft SQL Server current to stay ahead of new vulnerabilities. See exactly which versions are safe and what you're exposed to.

Microsoft SQL Server security status →

Stay ahead of the next one

Frequently asked questions

What is the latest version of Microsoft SQL Server?

As of June 2026, the latest supported Microsoft SQL Server release we track is 17.0.4045.5 CU5. Patch to the current release on your branch and confirm the version after updating.

How do I check which version of Microsoft SQL Server I am running?

Use: SELECT @@VERSION; —or— SELECT SERVERPROPERTY('ProductVersion'), SERVERPROPERTY('ProductLevel'); (T-SQL). Record the result before and after patching to confirm the update applied.

Is Microsoft SQL Server being actively exploited right now?

None of the Microsoft SQL Server vulnerabilities we track are currently on the CISA KEV list, but that can change — keep it patched. See the exploitation radar.

How do I patch Microsoft SQL Server safely without breaking production?

Always test in a non-production environment first, take a backup or snapshot, follow the official vendor advisory, and have a tested rollback. Patch one node at a time for clustered or high-availability setups.

Patch steps are general, well-established guidance for Microsoft SQL Server — always test in a non-production environment first and follow the official Microsoft advisory for your exact version. IsItPatched is independent and not affiliated with Microsoft; this is not a substitute for vendor documentation. See our disclaimer.

← All patching guides · Security guides →