Viewing 3 posts - 1 through 3 (of 3 total)
Yep, that works, thanks. Did not mean to offend. The G was a typo
thanks
JIM
June 22, 2012 at 7:46 am
#1504491
Nope. sorry but you have sp. in there and no AS for sp. GTry running it yourself
June 21, 2012 at 3:40 pm
#1504273
But the question was, and is how to get it from sys.dm_exec_sessions. You are joining to the sysprocesses which in deprecated by MS SQL Server 2012 to the sys.dm_...
June 21, 2012 at 2:43 pm
#1504238