在管理器中该数据库被标为可疑(在原来2000版本中好象叫“置疑”),此时不能对该库进行任何操作。用以下SQL文可以搞定:
其中db1是数据库的名字。

Code
USE MASTER
GO
SP_CONFIGURE \'ALLOW UPDATES\',1 RECONFIGURE WITH OVERRIDE
GO
ALTER DATABASE db1 SET EMERGENCY
GO
sp_dboption \'db1\', \'single user\', \'true\'
GO
DBCC CHECKDB(\'db1\',\'REPAIR_ALLOW_DATA_LOSS\')
GO
ALTER DATABASE db1 SET ONLINE
GO
sp_configure \'allow updates\', 0 reconfigure with override
GO
sp_dboption \'db1\', \'single user\', \'false\'
GO