SQL Server error code
SQL Server error 2508
SQL Server raises error 2508 at severity 16, which marks a problem with the query or data that you can correct.
The %.*ls count for object "%.*ls", index ID %d, partition ID %I64d, alloc unit ID %I64d (type %.*ls) is incorrect. Run DBCC UPDATEUSAGE.
| Msg | 2508 |
|---|---|
| Name | DBCC_OUT_OF_DATE_PAGE_OR_ROW_COUNT |
| Severity | 16 |
| Group | 2000–2999 |
What it means
In versions of SQL Server before SQL Server 2005, the values for the table and index row counts and page counts can become incorrect. Databases that were created on versions prior to SQL Server 2005 may contain incorrect counts. DBCC CHECKDB has been enhanced to detect these errors and returns this warning message when the error encountered.