SELECT login_name ,COUNT(session_id) AS session_count
FROM sys.dm_exec_sessions
GROUP BY login_name;
2020/01/31
Check connections to MS SQL
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URL
SELECT login_name ,COUNT(session_id) AS session_count
FROM sys.dm_exec_sessions
GROUP BY login_name;
No comments yet.
RSS feed for comments on this post. TrackBack URL
Powered by WordPress