ALTER DATABASE [olyvem] SET SINGLE_USER GO DBCC CHECKDB('olyvem',repair_allow_data_loss) WITH TABLOCK GO ALTER DATABASE [olyvem] SET MULTI_USER GO