PC Applications forum

General discussion

Recover .mdf file of SQL server

by jenniferlizit / September 7, 2015 12:13 PM PDT

I am trying to use my database file which is in .mdf format and created on the date 14 July. Whenever i try to use my file in order to restore and update the database, it show the error message of corruption and i can't able to open them.

So i am urgent looking for a reliable solution which help to recover and restore .mdf file of SQL server.

Discussion is locked
You are posting a reply to: Recover .mdf file of SQL server
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Recover .mdf file of SQL server
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Beware those spammers.
by R. Proffitt Forum moderator / September 7, 2015 12:33 PM PDT

This question has been asked before and the file repair replies are nothing new. That is they are the same over and over you find on google.com. That said you know if it's some file repair.com link or similar it's not someone here to help you but a spammer.

Since it was so important, why not use its backup copy?

No one I know today uses such or a Windows PC without backup.

Collapse -
re:Recover .mdf file of SQL server
by Joris903 / September 14, 2015 7:09 PM PDT

Try attaching the mdf to the database.If that doesn't work you may need to go to your backups.

Collapse -
Execute Transact-SQL command
by Andrew_JKSN / September 24, 2015 11:29 PM PDT

Try to execute this Transact-SQL command:
CREATE DATABASE MyDatabase ON (FILENAME = 'c:\data files\my_data.mdf'), (FILENAME = ' c:\data files\my_data.ldf') FOR ATTACH

Collapse -
Back ups generally
by oliwialosha / October 4, 2015 10:09 AM PDT

Popular Forums

icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

FALL TV PREMIERES

Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!