Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Data row does not have a matching index row in the index

$
0
0

Hi All,

I am having a SQL database where is am getting the following error while running dbcc checkdb query.

Can anyone please guide me what is to be done to resolve this issue.

DBCC results for 'INV4'.

Msg 8951, Level 16, State 1, Line 1

Table error: table 'INV4' (ID 1536060558). Data row does not have a matching index row in the index 'INV4_SCONDARY' (ID 2). Possible missing or invalid keys for the index row matching:

Msg 8955, Level 16, State 1, Line 1

Data row (1:4640:5) identified by (DocEntry = 5546 and LineSeq = 0) with index values 'DocEntry = 5546 and LineNum = 0 and GroupNum = -1 and ExpnsCode = -1 and StcCode = '⫀ and StaCode = '⭐ and staType = 1 and LineSeq = 0'.

Msg 8951, Level 16, State 1, Line 1

Table error: table 'INV4' (ID 1536060558). Data row does not have a matching index row in the index 'INV4_SCONDARY' (ID 2). Possible missing or invalid keys for the index row matching:

Msg 8955, Level 16, State 1, Line 1

Data row (1:4640:6) identified by (DocEntry = 5547 and LineSeq = 0) with index values 'DocEntry = 5547 and LineNum = 0 and GroupNum = -1 and ExpnsCode = -1 and StcCode = '⫀ and StaCode = '⭐ and staType = 1 and LineSeq = 0'.

There are 41342 rows in 1520 pages for object "INV4".

CHECKDB found 0 allocation errors and 2 consistency errors in table 'INV4' (object ID 1536060558).


Naushad Khan - System Administrator - MCITP




Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>