DBCC DBREPAIR

Transact-SQL Reference

Transact-SQL Reference

DBCC DBREPAIR

Drops a damaged database.

Important  DBCC DBREPAIR is included in Microsoft® SQL Server™ 2000 for backward compatibility only. It is recommended that DROP DATABASE be used to drop damaged databases. In a future version of SQL Server, DBCC DBREPAIR may not be supported.

See Also

DBCC

DROP DATABASE