Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

How to repair a corrupt database

$
0
0

Dear all,

I have a big issue with a SQL Server 2008 corrupt database:

DBCC checkdb (<my db name>)

RESULT:

Msg 8967, Level 16, State 218, Line 1

An internal error occurred in DBCC that prevented further processing. Contact Customer Support Services.

Msg 7985, Level 16, State 2, Line 1

System table pre-checks: Object ID 7. Could not read and latch page (1:3523) with latch type SH. Check statement terminated due to unrepairable error.

DBCC results for 'SboBettiniBAD'.
Msg 8944, Level 16, State 12, Line 1
Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 458752 (type Unknown), page (1:3523), row 13. Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 43240 and 539.
CHECKDB found 0 allocation errors and 1 consistency errors not associated with any single object.
CHECKDB found 0 allocation errors and 1 consistency errors in database 'SboBettiniBAD'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (SboBettiniBAD).

...........................

It seems the error is in the a systemtable: object_id = 7 = sysallocunits

I already tried with dbcc checkdb command with repair_allow_data_loss parameter but I have the same error.

Does it exist a free SQL repair tool or command?

Best regards

     Emanuele


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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