Home Forums Article Discussions Article Discussions by Author Discuss content posted by Mircea Nita DBA Tools:sp_whocpu RE: DBA Tools:sp_whocpu
Alexander Suprun
SSCertifiable
Points: 6233
More actions
May 19, 2015 at 4:31 pm
#1799197
The query has no sense at all! I urge everyone not to use it.
This join based on spid is simply wrong
from #cpu2 c2 join #cpu1 c1 on c2.spid = c1.spid join master.dbo.sysprocesses sp with (nolock) on sp.spid = c2.spid