User Tools

Site Tools


microsoft:microsoft_sql_server:sql:session:get_session_info

Microsoft - Microsoft SQL Server - SQL - Session - Get Session Info

SELECT conn.session_id, host_name, program_name,nt_domain, login_name, connect_time,
last_request_end_time FROM sys.dm_exec_sessions AS sess JOIN sys.dm_exec_connections AS 
conn ON sess.session_id = conn.session_id;
microsoft/microsoft_sql_server/sql/session/get_session_info.txt · Last modified: 2021/08/05 13:56 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki