ALTER DATABASE BUHG1C
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;

DBCC CHECKDB (BUHG1C, REPAIR_REBUILD)
DBCC CHECKDB (BUHG1C, REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE BUHG1C
SET MULTI_USER;