FIX: The "modification_counter" in DMV sys.dm_db_stats_properties shows incorrect value when partitions are merged through ALTER PARTITION in SQL Server 2016 and 2017

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core More

Symptoms


Assume that you have a partitioned table in an instance of Microsoft SQL Server 2016 and 2017. The value of the modification_counter in Dynamic Management Views (DMV) sys.dm_db_stats_properties outputs incorrect value when partitions are merged through "ALTER PARTITION".

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 terminology that Microsoft uses to describe software updates.