views:

77

answers:

2

How To detect the suspect database in SQL server2000 With Script Or Program ?

A: 
kevchadders
+1  A: 

the status column in master.dbo.sysdatabases will have the suspect bit set which is 256 for the database. in which case this will return a result:

select  * from sysdatabases where status&256 = 256
Nick Kavadias