?
Solved

Suspect ?? What's that?

Posted on 1998-07-09
3
Medium Priority
?
305 Views
Last Modified: 2010-03-19
One day, I found My Database 'Library' was Suspected". The Database can not work any more now.
Why? I have do something wrong? How to repair it?
The System Log told me : "Database 'Library' can not be opened - It has been marked SUSPECT by recovery. The SA can drop the database with DBCC"

... But I don't want to Drop the Database, I want it to work... How to Repair it? Use "DBCC Repair" ?

Oh, Why did it happened to me?
0
Comment
Question by:threshold
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Author Comment

by:threshold
ID: 1091704
Edited text of question
0
 
LVL 7

Accepted Solution

by:
spiridonov earned 150 total points
ID: 1091705
Database was corrupted for some reason. Database is marked suspect, beacause SQL server is probably trying to recover it from transaction log. You can try the following : wait until it is recovered. (SEE Q170115 'How to troubleshoot long recovery on databases.) You can try resetting suspect status back to normal using 'sp_resetstatus' If it didn't help reset it back sp_marksuspect. IF you still can't use DB  you will have to DROP it and recreate from the last backup.
0
 
LVL 2

Author Comment

by:threshold
ID: 1091706
I have use the DBCC to 'Repair' it, and found 'Repair' means 'Drop' in MS SQL.
Thank you, I will try your way in the next time.
0

Featured Post

Industry Leaders: 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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Suggested Courses

752 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