declare @spid int declare csr cursor for
select spid from sysprocesses where dbid=db_id('master')open csr fetch next from csr into @spid
while @@FETCH_STATUS=0 begin exec('KILL '+@SPID) fetch next from csr into @spid end
close csr DEALLOCATE csr
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。