Solved

Suspect Master DB

Posted on 1999-01-04
1
323 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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 …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now