Viewing post 1 (of 1 total)
SELECT distinct security_id, login_name, sy.name
FROM sys.dm_exec_sessions dms
JOIN sys.sysusers sy ON
dms.security_id = sy.sid
where security_id <> 0x01
November 21, 2013 at 5:41 am
#1668076