Solved

Suspect ?? What's that?

Posted on 1998-07-09
3
276 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
  • 2
3 Comments
 
LVL 2

Author Comment

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

Accepted Solution

by:
spiridonov earned 50 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now