Solved

Suspect Master DB

Posted on 1999-01-04
1
330 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
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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
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 how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

860 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