Solved

import damaged SQL MDF file

Posted on 2013-11-07
3
391 Views
Last Modified: 2013-12-11
I have a PC that had sql 2005 running on it that has died. The OS is corrupt and wont boot / repair at all.

I have managed to get the MDF file off of the machine but I cant attach it to another SQL server because it is damaged.

How can I go about trying to repair this file?
0
Comment
Question by:CaptainGiblets
3 Comments
 
LVL 32

Expert Comment

by:Big Monty
ID: 39630349
if you want to pay for a solution, you could check out this tool:

http://www.systoolsgroup.com/sql-recovery.html
0
 
LVL 6

Author Comment

by:CaptainGiblets
ID: 39630403
I have seen a few of these but preferably I would prefer a free option.
0
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 500 total points
ID: 39630618
I would recommend taking a look at this blog for how to attach damaged datafiles (which would then allow you to attempt recovery): http://blogs.msdn.com/b/suhde/archive/2009/05/12/database-corruption-part-2-how-to-attach-a-database-using-the-create-replace-method.aspx?Redirected=true
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now