?
Solved

Suspect Master DB

Posted on 1999-01-04
1
Medium Priority
?
338 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 380 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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.
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

764 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