Check connections to MS SQL

SELECT login_name ,COUNT(session_id) AS session_count
FROM sys.dm_exec_sessions
GROUP BY login_name;


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *