can you any body tell me suppose database is suspect mode.
how can take to normal?
Answers were Sorted based on User's Feedback
Answer / 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 |
Explain some DBCC commands?
How extra digits are handled with numeric data type literals?
How to drop existing views from a database in ms sql server?
When do you create cluster and noncluster index?
Explain fundamentals of Data ware housing & OLAP?
What do you mean by normalisation?
Why do you want to join software field as you have done your BE in Electronics?
What is the status of services on passive node for failover cluster in sql server? : sql server database administration
What do you know about system database? : SQL Server Architecture
How to get a list of all tables with "sys.tables" view in ms sql server?
Tell me what is fill factor?
What is difference between clustered and non clustered index?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)