sqlcmd -S \\.\pipe\MSSQL$Microsoft##SSEE\sql\query ALTER DATABASE SUSDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE DBCC checkdb ('SUSDB', repair_allow_data_loss) go ALTER DATABASE SUSDB SET MULTI_USER go
sqlcmd -S \\.\pipe\MSSQL$Microsoft##SSEE\sql\query ALTER DATABASE SUSDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE DBCC checkdb ('SUSDB', repair_allow_data_loss) go ALTER DATABASE SUSDB SET MULTI_USER go