SELECT
s.session_id
, c.connect_time
, s.login_time
, s.login_name
, c.protocol_type
, c.net_transport
, c.auth_scheme
, c.num_reads
, c.num_writes
, s.HOST_NAME
, s.program_name
FROM sys.dm_exec_sessions s
JOIN sys.dm_exec_connections c
ON s.session_id = c.session_id
s.session_id
, c.connect_time
, s.login_time
, s.login_name
, c.protocol_type
, c.net_transport
, c.auth_scheme
, c.num_reads
, c.num_writes
, s.HOST_NAME
, s.program_name
FROM sys.dm_exec_sessions s
JOIN sys.dm_exec_connections c
ON s.session_id = c.session_id
No comments:
Post a Comment