FIX: Error 8965 occurs when you run DBCC CHECKDB with PHYSICAL_ONLY option on CCI table in SQL Server 2017

Applies to: SQL Server 2017 Developer on WindowsSQL Server 2017 Enterprise Core on WindowsSQL Server 2017 Enterprise on Windows

Symptoms


Consider the following scenario:
  • You create a Clustered Columnstore Index (CCI) on a table in SQL Server 2017.
  • You run the DBCC CHECKDB command with PHYSICAL_ONLY option on the CCI table.
In this scenario, you may receive an error message that resembles the following. Additionally, a dump file is generated.
Msg 8965, Level 16, State 1, Line LineNumber
Table error: Object ID ObjectID, index ID IndexID, partition ID PartitionID, alloc unit ID UnitID (type In-row data). The off-row data node at page (1:65336), slot 1, text ID TextID is referenced by page (0:0), slot 0, but was not seen in the scan.

Status


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

Resolution


This issue is fixed in the following cumulative update for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References


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