This enhancement adds a new extended event, sql_statement_post_compile, to SQL Server 2017 and 2016. This extended event is fired every time that a query compilation is finished. It provides such information as whether the query compilation was an initial compile or a recompile, how long it took to compile the query, and how much CPU capacity was used.


Cumulative update information

This improvement is included in the following cumulative update for SQL Server:

Each new build for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:

SQL Server 2017 build versions

Service pack information for SQL Server 2016

This improvement is included in the following service pack for SQL Server:

Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. We recommend that you apply the latest service pack and the latest cumulative update for that service pack. You do not have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article to find more information about the latest service pack and latest cumulative update.

Determine the version, edition, and update level of SQL Server and its components


Learn about the standard terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!