Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can you any body tell me suppose database is suspect mode.
how can take to normal?

Answer Posted / praveen.g

1. Firstly look in the SQL Server Logs in Enterprise Manager
(EM). To get there, start EM and drill down from the
Database Server … Management … SQL Server Logs. There
should be multiple logs starting with Current and then
followed by 6 or more archived logs.

2. Review all recent Error Log(s). There WILL be an
indication here as to why the database has been marked
suspect. You need to fix whatever the problem is first
(i.e. missing file, permissions problem, hardware error
etc.)

3. Then, when the problem has been fixed and you're either
sure that the data is going to be ok, or you have no backup
anyway, so you've nothing to lose, then change the database
status to normal and restart SQL Server.

4. To change the database status we will us the following
store procedure: sp_resetstatus.
The steps are as follows:

a. USE master
GO
sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO
b.
sp_resetstatus
GO
-- Example: sp_resetstatus ‘Washington’

5. After the procedure is run, immediately disable updates
to the system tables:

a. sp_configure 'allow updates', 0
GO
RECONFIGURE WITH OVERRIDE
GO

6. Stop and Restart ALL SQL Server Services

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How exceptions can be handled in sql server programming?

1019


Explain what are the different index configurations a table can have?

1119


What does <> symbol mean?

984


What is difference between table aliases and column aliases? Do they affect performance?

973


What is sqlservr.exe - process - sql server (sqlex?press)?

1118


How to verify a login name with sqlcmd tool?

1231


Explain ranking functions?

1055


What is log in sql server?

1154


what's the difference between a primary key and a unique key? : Sql server database administration

960


What options are there to delete rows on the publisher and not on the subscriber? : sql server replication

1222


Can group by and orderby be used together?

1023


Does group by sort data?

909


Explain how dts is used to extract, transform and consolidate data?

1003


What is the distinction amongst delete and truncate?

1075


What are basics of policy management?

1108