Repair SQL database that has been marked suspect



    I woke up this morning to find my company's SQL database inaccessible and marked suspect.


    I have used various t-sql commands to bring it into Emergency mode.


    Now it is labelled Loading\Offline\Read-Only\Emergency Mode.


    I'm using SQL Server 2000


    I do not have  a backup and I need to get the database up and running as soon as yesterday.



    Wednesday, April 25, 2007 7:49 AM


All replies

  • first of all what version of SQL Server are u using?


    Second ..There can be many reason for database being suspect.Please see in to the SQL Server error log and send if you see something unusual/error .It is very importent to look in to error log before anything can be done


    run this on master

    select status from sysdatabases and send it.



    Wednesday, April 25, 2007 8:39 AM
  • Recommended actions for corrupt or suspect databases




    Wednesday, April 25, 2007 2:01 PM
  • it is very tough to get a suspect db back. try this link



    Wednesday, April 25, 2007 2:20 PM
  • As Madhu K Nair says "it is very tough to get a suspect db back". but even though there is one way to get your data back. Try third party SQL recovery and repair tools. These are powerful tool  that helps to recover and repair corrupted data.

    • Edited by David Poul Friday, September 21, 2012 4:54 PM
    Tuesday, October 27, 2009 6:09 AM
  • The main cause of the above error message is that the SQL database has been suspected. This situation occurs under following conditions:
    • When the error log file does not match with the database file
    • SQL database corruption

    When the user views the SQL Server application event log, he finds the following entry:

    “The log scan number (152:284:1) passed to log scan in database 'msdb' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.”

    Once the above error message appears on the screen, SQL database becomes inaccessible. To resolve the above problem, the user can use an inbuilt tool named sp_resetstatus. This tool enables the user to change the SQL database status and access the SQL database again. But in this case, this inbuilt tool will not be able to resolve the issue. This tool will only allow the user to connect to the SQL Server instances and will let you access other databases. To resolve the above error message and perform complete sql database recovery .
    David Poul
    • Edited by David Poul Friday, September 21, 2012 4:57 PM
    Friday, April 30, 2010 12:28 PM
  • Hello,

    Check the following article How to repair a Suspect Database in SQL Server to repair a SUSPECT database.


    Saturday, July 17, 2010 5:06 PM
  • Friday, February 11, 2011 7:33 PM
  • Yes, it's certainly true that regular backups are the best practice...but it seems to me that if somebody already has a database flagged as "Suspect" that it's a little late for that particular solution.


    Author: The Lawyer's Guide to Microsoft Outlook
    Thursday, August 18, 2011 3:04 AM
  • Check Out this article to repair suspect SQL database.

    Read my blog
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

    Monday, January 07, 2013 8:17 AM
  • There can be reasons that the database becoming suspect which leads to corruption in the user database and master database present in the SQL server. mdf file and .ldf file which is corrupted can be recovered by SQL database repair process and retreive MDF file and LDF files from suspect condition. Visit:

    • Edited by Cliveberry Friday, March 22, 2013 5:37 AM
    Monday, February 25, 2013 11:05 AM
  • I recommended SQL database repair application, you can use this program which destructs all corruption issues and repair SQL database from suspect mode.

    Monday, March 18, 2013 12:17 PM

  • If Your MDF Files of SQL server is corrupt and you want to repair it in this situation I can help you to provide a best solution for this corruption issues.All the corrupted or damaged MDF Files can very easily repair with the help of SQL Server Recovery tool.This software repairs your corrupt MDF file and extract all tables, triggers, views and stored procedures.You can get a demo version of this software  from here:
    Saturday, April 05, 2014 4:45 AM