Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Suspect Master DB

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
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.

609 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