Home > Ask the SQL Server Experts > Tony Bain Questions & Answers > Recovering the database from the MDF file
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Recovering the database from the MDF file

Tony Bain EXPERT RESPONSE FROM: Tony Bain

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 03 September 2003
Recently I had a disk drive go bad. The Transaction Log file was corrupted. My client has no backups (shame on him), and I need to see if there is a way of recovering the database from the existing MDF file. I have tried everything I can think of with no success. Attach with no LDF leaves me with a suspect database. sp_ResetStatus gives me Prior to updating sysdatabases entry for database 'MSNTSAFE', mode = 0 and status = 1077936152 (status suspect_bit = 0). No row in sysdatabases was updated because mode and status are already correctly reset. No error and no changes made. Any ideas?

>

If this is production data then I recommend you open a support case with Microsoft support. You don't want to mess around and risk creating more damage. I don't know if you will be successful in recovering the data or not though.

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Tony Bain
Application not resolving username and password
Problems trying to install SQL Server on a two-node cluster on SAN
Error connecting to Web-based application
Conversion of char datatype to datetime datatype resulted in an out of range datetime value
Getting error when dropping, inserting into or truncating table with QA
Often used SP wiped out the database
Tony's SQL Server book for DBAs
Finding gaps in column of sequential numbers
Exporting T-SQL scripts from command line
Oracle SQL doesn't work in SQL Server

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts