문제상황시 유용한 sql쿼리들
--get the connections select st.text, c.connect_time, c.net_transport, c.auth_scheme, c.num_reads, c.num_writes, c.last_read, c.last_write, c.connection_id, c.parent_connection_id, st.dbid, st.objectid from sys.dm_exec_connections c cross apply sys.dm_exec_sql_text(c.most_recent_sql_handle) st go --get the sessions select s.login_time, s.host_name, s.program_name, s.login_name..