Avatar of searchsanjaysharma
searchsanjaysharma asked on

How to correct error in Sql Server: An inconsistency was detected during an internal operation in database 'Nawada'(ID:6) on page (1:14194556). Please contact technical support. Reference number 4.

I have a database Nawada, and Table name is txndependents
for which i am not able to fetch record because of above error.
The output of dbcc checkdb is as follows: This has stuck my work, Please help, so that i can correct the error.

DBCC results for 'TxnDependents'.
Msg 8928, Level 16, State 1, Line 1
Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data): Page (1:14194556) could not be processed.  See other errors for details.
Msg 8944, Level 16, State 18, Line 1
Table error: Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data), page (1:14194556), row 0. Test (columnOffsets->offTbl [varColumnNumber] >= priorOffset) failed. Values are 25 and 67.
Msg 8944, Level 16, State 18, Line 1
Table error: Object ID 1093578934, index ID 1, partition ID 72057594040614912, alloc unit ID 72057594045071360 (type In-row data), page (1:14194556), row 0. Test (columnOffsets->offTbl [varColumnNumber] >= priorOffset) failed. Values are 25 and 67.
There are 24621219 rows in 320099 pages for object "TxnDependents".
CHECKDB found 0 allocation errors and 3 consistency errors in table 'TxnDependents' (object ID 1093578934).
Microsoft SQL Server 2005

Avatar of undefined
Last Comment
searchsanjaysharma

8/22/2022 - Mon
Raja Jegan R

Rebuild your Primary key or Clustered key in txndependents table which should ideally fix consistency issues.
EvilPostIt

Can you check to see if you have full & transaction log backups?

DONT RESTORE YET, this is a check.
EvilPostIt

@rrjegan if you have a corrupted clustered index you cannot just rebuild it as this is the leaf level data! Although i do agree that you can rebuild non-clustered indexes.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
EvilPostIt

searchsanjeysharma,

Could you tell me if anything has happened recently to the system? Disk failure / Power Failure etc?
ASKER CERTIFIED SOLUTION
Raja Jegan R

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
EvilPostIt

As you say replair allow data loss could loose data so the better option would be to do a tail log backup to ensure you have to most recent transactions and take the database offline so nothing more can go into the database. Then.....

restore full backup in norecovery
apply all the transaction log backups including the tail log backup which has been taken.

This will mean there is no data loss. But obviously this is dependant upon if the backups are available. Thus the original response.
Raja Jegan R

If there is any data loss, then you can try restoring from the available backups as mentioned by you..
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
EvilPostIt

Repair will not cause data loss? It depends. If you have to use REPAIR_ALLOW_DATA_LOSS, then you're going to lose data. That's why the option is named that - seriously

Quote from Paul Randall
http://www.sqlskills.com/aboutpaulsrandal.asp
ASKER
searchsanjaysharma

ok
ASKER
searchsanjaysharma

ok
Your help has saved me hundreds of hours of internet surfing.
fblack61