I've run the following commands:[code="sql"]Sp_configure 'allow updates', 1 Reconfigure with overrideGOsp_resetstatus 'msdb' GOupdate master..sysdatabases set status = status | -32768where name = 'msdb' Sp_configure 'allow updates', 0Reconfigure with overrideDBCC checkdb(msdb)ALTER DATABASE msdb SET SINGLE_USER[/code]When I look at the properties for the database I see that it IS in single user mode and it's in standby/emergency mode but when I run the following command[code="sql"]DBCC CheckDB (msdb, REPAIR_ALLOW_DATA_LOSS)[/code]I get the following error:[quote]Msg 7919, Level 16, State 2, Line 2Repair statement not processed. Database needs to be in single user mode.DBCC execution completed. If DBCC printed error messages, contact your system administrator.[/quote]Am I missing something? Is it not REALLY in single user mode?
↧