Error 7961
Error 7961
Topic last updated -- January 2004
Severity Level 16
Message Text
Object ID O_ID, index ID I_ID, page ID P_ID, row ID ROW_ID. Column 'COLUMN' is a var column with a NULL value and non-zero data length.
Explanation
The variable length column specified has a NULL value (that is, zero length), but the actual data length is non-zero.
Action
HARDWARE FAILURE
Run hardware diagnostics and correct any problems. Also examine the Microsoft® Windows NT® system and application logs and the SQL Server™ error log to see if the error occurred as the result of hardware failure. Fix any hardware related problems.
If you have persistent data corruption problems, try to swap out different hardware components to isolate the problem. Check to ensure that your system does not have write caching enabled on the disk controller. If you suspect this to be the problem, contact your hardware vendor.
Finally, you might find it beneficial to switch to a completely new hardware system, including reformatting the disk drives and reinstalling the operating system.
RESTORE FROM BACKUP
If the problem is not hardware related and a known clean backup is available, restore the database from the backup.
DBCC CHECKDB
If no clean backup is available, execute DBCC CHECKDB without a repair clause to determine the extent of the corruption. DBCC CHECKDB will recommend a repair clause to use. Then, execute DBCC CHECKDB with the appropriate repair clause to repair the corruption.
Caution If you are unsure what effect DBCC CHECKDB with a repair clause has on your data, contact your primary support provider before executing this statement.
If the index ID specified is a heap, performing a repair will set the length to zero. Otherwise, the index ID specified must be a clustered or non-clustered index, and therefore the index will be rebuilt to fix the problem.
If running DBCC CHECKDB with one of the repair clauses does not correct the problem, contact your primary support provider.