SQL Server Version Numbers: Build List 2008 to 2025

Find your SQL Server build with @@VERSION or SERVERPROPERTY, and look up RTM and service pack builds for every version from 2008 to 2025.

SQL Server Version Numbers: Build List 2008 to 2025
Checking exactly which build of SQL Server you’re running is one of the first troubleshooting steps for almost any database problem. The friendly name, such as “SQL Server 2019”, doesn’t tell you which service pack or cumulative update is installed, and Microsoft’s support articles, known-issue lists and vendor compatibility matrices all refer to the numeric build. This page explains how the numbers work, how to find yours, and lists the key builds for every version from SQL Server 2008 to SQL Server 2025.

How SQL Server Version Numbers Work

A SQL Server build number has four parts, for example 15.0.2000.5:
  • Major version (15): identifies the product release. 15 is SQL Server 2019, 16 is SQL Server 2022, 17 is SQL Server 2025.
  • Minor version (0): almost always 0. The notable exception is SQL Server 2008 R2, which is 10.50 rather than 10.0.
  • Build (2000): goes up with each service pack, cumulative update (CU) or security update (GDR). This is the part that tells you the patch level.
  • Revision (5): a further refinement used by Microsoft internally.
Since SQL Server 2017, Microsoft no longer releases service packs. Each version gets cumulative updates instead, plus occasional GDR security updates. So for 2017 and later you’ll see an RTM build followed by a long list of CUs rather than SP1, SP2 and so on.

How to Find Your SQL Server Build

The quickest method is to run this in SQL Server Management Studio, Azure Data Studio or sqlcmd:
SELECT @@VERSION;
That returns a text string including the build, edition and the Windows or Linux version it’s running on. For something cleaner that’s easier to use in scripts or reports, use SERVERPROPERTY:
SELECT
  SERVERPROPERTY('ProductVersion')     AS Build,
  SERVERPROPERTY('ProductLevel')       AS Level,
  SERVERPROPERTY('ProductUpdateLevel') AS UpdateLevel,
  SERVERPROPERTY('Edition')            AS Edition;
ProductUpdateLevel shows the CU number directly (for example CU14), which saves you looking the build up. If you can’t connect to the instance, you can also check the file version of sqlservr.exe in the instance’s Binn folder, or look in the SQL Server error log, which records the build on its first line every time the service starts. In PowerShell with the SqlServer module installed:
Invoke-Sqlcmd -ServerInstance "SQL01" -Query "SELECT SERVERPROPERTY('ProductVersion') AS Build"

SQL Server 2017 to 2025: RTM Builds

VersionMajor versionRTM build
SQL Server 20251717.0.1000.7
SQL Server 20221616.0.1000.6
SQL Server 20191515.0.2000.5
SQL Server 20171414.0.1000.169
SQL Server 2025 reached general availability in November 2025 and is the current release. All four of these versions receive regular cumulative updates, so a properly patched server will report a much higher build than the RTM number above. Because new CUs arrive every month or two, the definitive list for each version is Microsoft’s own “build versions” page on Microsoft Learn, which gives every CU and GDR build along with its KB article.

SQL Server 2008 to 2016: RTM and Service Pack Builds

VersionBuild
SQL Server 2016 RTM13.0.1601.5
SQL Server 2016 SP113.0.4001.0
SQL Server 2016 SP213.0.5026.0
SQL Server 2016 SP313.0.6300.2
SQL Server 2014 RTM12.0.2000.8
SQL Server 2014 SP112.0.4100.1
SQL Server 2014 SP212.0.5000.0
SQL Server 2014 SP312.0.6024.0
SQL Server 2012 RTM11.0.2100.60
SQL Server 2012 SP111.0.3000.0
SQL Server 2012 SP211.0.5058.0
SQL Server 2012 SP311.0.6020.0
SQL Server 2012 SP411.0.7001.0
SQL Server 2008 R2 RTM10.50.1600.1
SQL Server 2008 R2 SP110.50.2500.0
SQL Server 2008 R2 SP210.50.4000.0
SQL Server 2008 R2 SP310.50.6000.34
SQL Server 2008 RTM10.0.1600.22
SQL Server 2008 SP410.0.6000.29
Each of these versions also had cumulative updates between service packs, so a build that sits between two numbers in this table is simply a CU on top of the earlier service pack.

Is Your Version Still Supported?

This is the other reason people look up their build. As of late 2026:
  • SQL Server 2008, 2008 R2, 2012 and 2014 are out of extended support. 2014 was the most recent to drop off, in July 2024.
  • SQL Server 2016 reached the end of extended support on 14 July 2026. It no longer gets security updates unless you’ve bought Extended Security Updates.
  • SQL Server 2017 is in extended support until October 2027, so security fixes only.
  • SQL Server 2019 left mainstream support in February 2025 and is in extended support until January 2030.
  • SQL Server 2022 and 2025 are in mainstream support and receive regular CUs.
If you’re running anything older than 2017, it’s time to plan an upgrade. Check that your applications support the target version first, as many vendors certify against specific builds.

Frequently Asked Questions

Why does my build number not appear in the tables?

You almost certainly have a cumulative update or security update installed. Look up the build on Microsoft’s build versions page for your major version, or run the SERVERPROPERTY query above to see the CU name directly.

Is the SQL Server Management Studio version the same as the server version?

No. SSMS is a separate client tool with its own version numbers. Always check the build on the server itself.

Does the build number differ between Windows and Linux?

The major version is the same, and CUs are released for both, but the exact build of a given CU can differ slightly between platforms.

Related SQL Guides

If you work with Configuration Manager databases, our SCCM SQL and WQL query library and 30 useful SCCM SQL queries are good next stops, and our guide on building a custom SCCM report with SQL shows how to turn those queries into reports. Moving a System Center database to a new server? See our walkthrough on migrating the SCSM database to a new SQL Server.
🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Intune, Active Directory, PowerShell and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published 770+ practical guides to real-world IT problems. He also builds free Windows utilities, including Ultimate Settings Panel, which has been downloaded over 850,000 times.

One thought on “SQL Server Version Numbers: Build List 2008 to 2025”

Comments are closed.

Part of The Geek Network