SQL Server versions and end-of-support dates
SQL Server versions run from SQL Server 2012 to SQL Server 2025, and each has its own release date, mainstream end, extended end and Extended Security Updates date. The table below lists all of them, checked against Microsoft's Lifecycle pages on 22 October 2026.
Latest SQL Server version and the next end-of-support date
The latest version of SQL Server is SQL Server 2025 (17.x), released on 18 November 2025. The next end-of-support date is 12 October 2027, when extended support for SQL Server 2017 ends. SQL Server 2016 passed its end-of-support date on 14 July 2026 and now gets security updates only through paid Extended Security Updates.
Leaving SQL Server
Move SQL Server databases to PostgreSQL
OSSeva does not patch SQL Server. It migrates SQL Server databases to PostgreSQL and then supports the PostgreSQL clusters.
See the SQL Server to PostgreSQL offerBy Matt Reynolds, VP Engineering. Dates from Microsoft's Lifecycle pages, cross-checked on endoflife.date.
Last reviewed
SQL Server versions, release dates and support end dates
Microsoft supports each SQL Server version for ten years: five of mainstream support and five of extended support, which carries security updates only. Extended Security Updates (ESUs) are a paid third stage that Microsoft has offered for SQL Server 2012, 2014 and 2016. Status is as of 22 October 2026.
SQL Server version history, checked 22 October 2026
| Version | Major build | Released | Mainstream ends | Extended ends | ESUs end | Status |
|---|---|---|---|---|---|---|
| SQL Server 2025 | 17.0 | 18 Nov 2025 | 6 Jan 2031 | 6 Jan 2036 | None published | Mainstream support |
| SQL Server 2022 | 16.0 | 16 Nov 2022 | 11 Jan 2028 | 11 Jan 2033 | None published | Mainstream support |
| SQL Server 2019 | 15.0 | 4 Nov 2019 | 28 Feb 2025 | 8 Jan 2030 | None published | Extended support, security updates only |
| SQL Server 2017 | 14.0 | 29 Sep 2017 | 11 Oct 2022 | 12 Oct 2027 | None published | Extended support, security updates only |
| SQL Server 2016 | 13.0 | 1 Jun 2016 | 13 Jul 2021 | 14 Jul 2026 | 17 Jul 2029 | Past end of support, ESUs only |
| SQL Server 2014 | 12.0 | 5 Jun 2014 | 9 Jul 2019 | 9 Jul 2024 | 12 Jul 2027 | Past end of support, ESUs only |
| SQL Server 2012 | 11.0 | 20 May 2012 | 11 Jul 2017 | 12 Jul 2022 | 8 Jul 2025 | Unsupported, ESUs have ended |
Sources: Microsoft Lifecycle pages for each SQL Server version and Microsoft's SQL Server ESU FAQ, cross-checked against endoflife.date. Microsoft lists SQL Server 2014 ESUs ending on 12 July 2027 on its Lifecycle page and Windows Server ESU page, and on 8 July 2027 in the ESU FAQ; this page uses 12 July 2027. Microsoft has published no ESU programme for SQL Server 2017 or later.
Latest SQL Server update for each version
The build number in @@VERSION shows whether an instance has the newest update for its version. These are the latest builds listed on endoflife.date for each version on 22 October 2026.
Latest build per SQL Server version, from endoflife.date
| Version | Latest build | Released |
|---|---|---|
| SQL Server 2025 | 17.0.5015.4 (CU9 + GDR) | 13 Oct 2026 |
| SQL Server 2022 | 16.0.4305.5 (CU27 + GDR) | 13 Oct 2026 |
| SQL Server 2019 | 15.0.4500.2 (CU32 + GDR) | 13 Oct 2026 |
| SQL Server 2017 | 14.0.3560.2 (CU31 + GDR) | 13 Oct 2026 |
| SQL Server 2016 | 13.0.6500.1 (SP3 + GDR) | 14 Jul 2026 |
| SQL Server 2014 | 12.0.6449.1 (SP3 CU4 + GDR) | 10 Oct 2023 |
| SQL Server 2012 | 11.0.7512.11 (SP4 + GDR) | 14 Feb 2023 |
How to check your SQL Server version
Connect with SQL Server Management Studio, Azure Data Studio or sqlcmd and run the query below. The first line of the result names the product, for example Microsoft SQL Server 2019, and shows the build number, such as 15.0.4xxx.x. The first two numbers of the build give the version: 17.0 is SQL Server 2025, 16.0 is 2022, 15.0 is 2019, 14.0 is 2017, 13.0 is 2016, 12.0 is 2014 and 11.0 is 2012.
The same query works on Windows and on Linux. In Management Studio you can also right-click the server in Object Explorer and open Properties, which shows the product version and edition. To tell which update an instance has, compare its full build number with the latest-build table above.
SELECT @@VERSION;SELECT
SERVERPROPERTY('ProductVersion') AS product_version,
SERVERPROPERTY('ProductLevel') AS product_level,
SERVERPROPERTY('ProductUpdateLevel') AS update_level,
SERVERPROPERTY('Edition') AS edition;ProductLevel shows the service pack or RTM, and ProductUpdateLevel shows the cumulative update where one is installed. Edition matters for support: Microsoft offers ESUs for the Enterprise and Standard editions of SQL Server 2014 and 2016 only, not for Express, Web or Developer.
What end of support means for SQL Server, and what ESUs cost
Mainstream support ends first: after that date Microsoft ships security updates only, and a performance or functional bug gets no public fix. When extended support ends, Microsoft ships no updates for that version at all, and it will not take a support ticket for it. The databases keep running.
Microsoft sells Extended Security Updates for up to three years after the extended end date, for SQL Server 2014 and 2016 only. ESUs cover Critical security updates, released only when the Microsoft Security Response Center rates a vulnerability Critical. Microsoft's published pricing is built from the rules below. Per-core prices are on Microsoft's Azure Arc pricing page, which this page does not copy because they change.
How Microsoft charges for SQL Server ESUs
| Term | Microsoft's published rule |
|---|---|
| Versions covered | SQL Server 2014 and SQL Server 2016. None published for 2017, 2019, 2022 or 2025. |
| Editions | Enterprise and Standard. Express, Web and Developer cannot subscribe. |
| Billing unit | Per core, billed hourly through Azure Arc, with a four-core minimum per machine. |
| Core limits | Standard is capped at 24 cores. A physical-core ESU license for unlimited virtualization has a 16-core minimum. |
| Who can subscribe | Customers with Software Assurance or a SQL Server subscription, or pay-as-you-go billing through Azure Arc. Server+CAL licences without Software Assurance cannot. |
| Late start | Billed back to the start of the current ESU year, so a late subscription still pays for the months missed. |
| Free ESUs | SQL Server 2014 on Azure VMs and Azure VMware Solution. Not offered for SQL Server 2016. |
| Not included | New features, functional improvements and general technical support. Support covers only issues with the updates themselves. |
Sources: Microsoft Learn, "What are Extended Security Updates?", "Extended Security Updates FAQ" and "Extended Security Updates enabled by Azure Arc", read 22 October 2026.
Upgrade SQL Server or move to PostgreSQL
Most teams on SQL Server 2014 to 2017 have three routes. Upgrade to SQL Server 2022 or 2025, which restarts the support clock on Microsoft's licensing. Move the database to Azure SQL Managed Instance or Azure SQL Database, which Microsoft says never reach end of support. Or move the application to another database.
OSSeva does not support or patch SQL Server. If the application is a candidate to leave SQL Server, OSSeva assesses it, converts the schema and T-SQL, moves the data and then supports the PostgreSQL clusters, on infrastructure you control. Where an upgrade is the better answer, the assessment says so. Each route, version by version, is set out on the SQL Server end-of-life options page.
What is the latest version of SQL Server?
SQL Server 2025 (17.x), released on 18 November 2025. Mainstream support runs to 6 January 2031 and extended support to 6 January 2036. The newest update listed on endoflife.date at the time of writing is 17.0.5015.4, released on 13 October 2026.
Is SQL Server 2019 still supported?
Yes, in extended support. Mainstream support ended on 28 February 2025, so SQL Server 2019 now gets security updates only, until 8 January 2030. Microsoft has published no Extended Security Updates programme for it, so 8 January 2030 is the last date for fixes.
Is SQL Server 2017 still supported?
Yes, in extended support. Mainstream support ended on 11 October 2022, and security updates continue until 12 October 2027. Microsoft has published no Extended Security Updates for SQL Server 2017, so plan the upgrade or migration to finish before that date.
How do I check my SQL Server version?
Run SELECT @@VERSION; in Management Studio, Azure Data Studio or sqlcmd. The result names the product and gives a build number: 15.0.x is SQL Server 2019, 16.0.x is 2022 and 17.0.x is 2025. SERVERPROPERTY('ProductVersion') returns the build number alone, on Windows and Linux.
Get a quote
Running SQL Server and weighing a move to PostgreSQL?
Tell us the SQL Server versions and the applications on them. We say whether to upgrade or migrate for each one.
Prefer to talk or read more first?