Hi,I used the below query [code="sql"]select CONVERT(TIME, DATEADD(ms, DATEDIFF(ms, last_request_start_time, GETDATE()), 0), 114) AS Duration, *from sys.dm_exec_sessions where (status <> 'sleeping' or open_transaction_count > 0) order by last_request_end_time [/code]but it returns some rows with >>>>>>>>>>>>>>>>00:01:49.4200000...23:59:59.997000023:59:59.9700000>>>>>>>>>>>>>>>>It seems to me that the last two rows were negative duration, and why it would happen?Regards,
↧