这个方法是google出来的,记录下来以备查阅。
sp_configure 'update',1
go
RECONFIGURE WITH OVERRIDE
go
--delete from master..syslogins where sid = 0x19BD4E9B01326B47B70FB86D99A671BD
delete from sysusers where uid in(6, 7)
go
sp_configure 'update',0
go
RECONFIGURE WITH OVERRIDE
go