Solved

Suspect ?? What's that?

Posted on 1998-07-09
3
290 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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 …
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.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

789 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