SELECT session_id, request_id, start_time, status, command, sql_handle --,statement_start_offset, statement_end_offset, plan_handle , database_id, user_id --,connection_id , blocking_session_id , wait_type, wait_time, last_wait_type, wait_resource, o…