hi folks:
I have a SCCM database and it contains corruption. The best way is to restore to the last known good backup but we have
to fix the db this time.
What I did is to convert db into single mode and use REPAIR_REBUILD to fix
alter database abc set single_user with rollback immediate...
dbcc checkdb ('abc', REPAIR_REBUILD)
however, after I've converted db into single mode and it ran with success. I opened another session in studio and
check sp_who to make sure but find a few sessions which are still connecting to this db.
what's more, these sp are all lower session (process < 50) , therefore, I can not kill these spid.
and they are all from TASK MANAGER.
This prevents me from executing dbcc checkdb as I can not get exclusive access to this db..
Any comments on why those system process connected to this db after singler_user mode is on?
thanks
Hui
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --