- This will work in SQL Server 2005 and 2008. SELECT count(*) as ConnectionCount. FROM sys.dm_exec_sessions. WHERE is_user_process = 1. If you want both system ...
確定! 回上一頁