FIX: An access violation occurs when incremental statistics are automatically updated on a table in SQL Server

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core


When you process DML operations on a table that has partitioning, and incremental statistics are automatically updated, an access violation occurs. Additionally, you receive the following error message in Microsoft SQL Server Management Studio (SSMS):

If you disable automatic update statistics, this error doesn't occur.


This problem is fixed the following updates for SQL Server:

Cumulative Update 8 for SQL Server 2017

Cumulative Update 1 for SQL Server 2016 Service Pack 2

Cumulative Update 9 for SQL Server 2016 Service Pack 1


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


Learn about the terminology Microsoft uses to describe software updates.