delphi3000.com - the free delphi knowledge platform
delphi3000.com - the free delphi knowledge platform
Have a look at your member-status

connecting people's knowledge


  - Recent ArticlesRSS feed for Recent Articles on delphi3000.com
  - List of All Articles
  - Top Viewed Articles
  - Articles (+Attachem.)
  - Articles Of Interest
  - Categories
  - Top Uploader
  - Search
  - Index

  - My Home
  - Submit an Article
  - My Articles
  - My Personal Data
  - My Bookmarks
  - Activities
  - Login/Logout

  - Sign Up
  - Why Sign Up
  - Newsletter

  - Press
  - Advertise

  - Contact
  - Feedback



Community
Borland
ClubeDelphi
Dr. Bob
UK-BUG
Delphi Meetings
Planeta Delphi








Share this article with friendsShare this article with friends
Rate this articleRate this article - to keep the quality of delphi3000.com !
Comment this article or read through previous comments (0)


How to recover corrupted SQL Server 2008 database from Error 8974Format this article printer-friendly!Bookmark function is only available for registered users!
How to recover corrupted SQL Server 2008 database from Error 8974
Product:
Delphi all versions
Category:
Database-SQL
Skill Level:
Scoring:
Last Update:
07/06/2010
Search Keys:
delphi delphi3000 article borland vcl code-snippet sql repair, repair sql, repair sql database, mdf repair, sql database repair, mdf database repair, sql server repair, mdf file recovery, ms sql repair
Times Scored:
1
Visits:
62
Uploader: Mark Willium
Company: SQL Recovery Software
Reference: http://www.mssqldatabaserecovery.com/
 
Question/Problem/Abstract:
Are you using SQL Server 2008 in your organization to carry out enterprise solutions? If yes, then are you experiencing problems in using the database on a regular basis? If this is so, then there are chances that the database may have corrupted because of various reasons.
Answer:



Are you using SQL Server 2008 in your organization to carry out enterprise solutions? If yes, then are you experiencing problems in using the database on a regular basis? If this is so, then there are chances that the database may have corrupted because of various reasons. Such reasons could be virus infections, power outages, abrupt system shutdown when the database is open, hardware malfunctioning, etc. In such cases, you should use appropriate corrective measures to repair SQL database. If you are not able to provide any solution, then you should use a third-party MS SQL repair software to do the needful.

Consider a scenario wherein you get the following error message while working on an SQL Server 2008 database:

"Table error: Object ID O_ID, index ID I_ID, partition ID PN_ID, alloc unit ID A_ID (type TYPE). The off-row data node at page P_ID1, slot S_ID1, text ID TEXT_ID is pointed to by page P_ID2, slot S_ID2 and by page P_ID3, slot P_ID3."

Cause:

The root cause of this erroneous situation is that two index records have listed an off-row node as their child node whereas any node can have only one parent node.

Resolution:

To resolve this problem, you should repair SQL database by performing any of the following methods, preferably in the given order:

Check for hardware-related problems: You should check the error logs to find out whether the problem has occurred because of any malfunctioning hardware component. In addition, you can swap the hardware components to isolate the actual cause of error. Lastly, you can also consider to format the hard disks and reinstall the operating system.

Restore from backup: If the problem is not hardware related, then you should restore the database with its clean and updated backup.

Run DBCC CHECKDB: If the backup is not updated, then you should run the DBCC CHECKDB command without any repair clause to determine the corruption level. Then, run it again with the recommended repair clause. This command will delete the off-row data node from P_ID1 and, also, its references from P_ID2 and P_ID3.

After performing these methods, you would not get the similar error. However, if you still find yourself in a similar situation, then you should use a third-party MS SQL repair software to fix the error. Such MDF database repair tools are read-only in nature that do not overwrite the existing database during scanning.

Stellar Phoenix SQL Database Recovery is an SQL Server repair software that repairs SQL databases created in MS SQL Server 7.0, 2000, 2005, and 2008. It is able to recover various database components such as tables, NDF files, stored procedures, queries, triggers, defaults, etc. In addition, this SQL database repair software preserves the relationships among the database tables. It is compatible with Windows 7, Vista, Server 2003, XP, and 2000.





Please rate this article!
Skill level:
BeginnerExpert

Useful:
No!Very!

Overall rating:
PoorExcellent



Comments to this article
Write a new comment













 
Sign up to consume product discounts for Bronze memberships !

read more


   


  Community Ad of
D. Souchard
 
   














 







     
  Copyright © 2000 - 2007 delphi3000.com - All rights reserved. Terms of use. || Privacy
delphi3000.com is a service by bluestep.com IT-Services GmbH (Vienna)