You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declare @sql varchar(240)
while 1=1beginselect top 1 @sql ='kill '+cast(spid asvarchar(20))
from master..sysprocesses
where spid >50and spid <> @@spid
if @@rowcount =0
break
exec(@sql)
end