Hi
I am trying to figure out how to measure the query runtime (from start to finish) for each SQL query executed by a user.
e.g.
UserName, StartTime, QueryRunTime, etc., etc., etc.,
bob, 2013/01/30 09:10:00.00, 00:00:00:05:, etc., etc., etc.,
bob, '2013/01/30 09:11:00.00', 00:01:23:00, etc., etc., etc.
etc.
etc.
(QueryRunTime format: hh:mm:ss:ms. To calculate query run time, I used dbqlogtbl.FirstRespTime - dbqlogtbl.StartTime)
↧