Solved

Suspect ?? What's that?

Posted on 1998-07-09
3
267 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
Comment Utility
Edited text of question
0
 
LVL 7

Accepted Solution

by:
spiridonov earned 50 total points
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Restore Procedure question 4 28
Update foreign key reference after insert 9 30
sql server query? 6 26
SQL JOIN 6 31
Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

771 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

9 Experts available now in Live!

Get 1:1 Help Now