What is SQL Server "Suspect" database?

502    Asked by ChrisDyer in SQL Server , Asked on Jul 19, 2021

What do you do when you have a database that is marked as Suspect? Restore from the last backup? What is  SQL Server database suspect?

 Please advise.

Answered by Dan Peters

SQL Server Database Suspect Sometimes, we got stuck in many critical situations such as a Suspect database. The SQL server database goes into the suspect mode because the primary file (MDF) and other files get damaged and the database fails to repair the damaged file.

First thing is to make sure you DO NOT detach that database. Restoring from the last known goodbackup is fine. Otherwise you will need to use the EMERGENCY repair mode (I am assuming you are running SQL 2005 or higher). Here are a couple of posts from Paul Randal on the subject. Read them both before you start taking any action.




Your Answer

Interviews

Parent Categories