Solved

Suspect Master DB

Posted on 1999-01-04
1
334 Views
Last Modified: 2006-11-17
When I try to restore the Master DB, It's restored as (suspect)  is there a way to override (suspect)?
0
Comment
Question by:prozach
[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
1 Comment
 
LVL 1

Accepted Solution

by:
achopra earned 190 total points
ID: 1092483
Execute a stored proceedure called sp_reststatus <dbname>
in order to redo the database.

Eg:

sp_resetstatus master
go


this will reset the suspect flag, but leave all other flags intact.
however this feature can only be done by the sysadmin (sa)
As soon as you run this, you must reboot the system, (shutdown first).

you should be all set. If this does not work, then under SQL 6.5 using the setup you can rebuild the master database, under 7, you would need to re-install.

0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

728 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