Applies ToSQL Server 2017 Developer SQL Server 2017 Enterprise SQL Server 2017 Enterprise Core

Symptoms

You query by using sys.dm_db_tuning_recommendations dynamic management view (DMV) in SQL Server 2017. If SQL Server query optimizer (QO) uses a parallel query execution plan, an access violation may occur, and a dump file is generated.

Resolution

This fix is included in the following update for SQL Server:

Cumulative Update 13 for SQL Server 2017

About SQL Server builds

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

Workaround

To work around this issue, use the following option when you query sys.dm_db_tuning_recommendations to remove parallelism and avoid the risk of an access violation:

OPTION (MAXDOP 1)

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.