Quantcast
Channel: SQLServerCentral » SQL Server 2008 » Data Corruption (SS2K8 / SS2K8 R2) » Latest topics
Viewing all articles
Browse latest Browse all 223

Corrupted index - find out what caused it

$
0
0
Hi I got this error on a scheduled integrity check. SQL 2005 sp2[i]Data row does not have a matching index row in the index '' (ID 2). Possible missing or invalid keys for the index row matching:[/i]The corrupted index is a non-clustered Unique index on a VIEW.I rebuild both the clustered index on the view and the corrupted index. It fixed the problem.I'm trying to find what caused the corruption. 1. Windows Event viewer shows nothing2. SQL Error Log shows no error.I'm surprised the DB was not being used in the period it failed (weekend).Any ideas?

Viewing all articles
Browse latest Browse all 223

Trending Articles