Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

import damaged SQL MDF file

Posted on 2013-11-07
3
Medium Priority
?
427 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 34

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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

810 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