Hi All.
Please help me.
I want to display the time to display a report.I used the following command to display that time :
SELECT Catalog.Name, ExecutionLog.TimeStart, ExecutionLog.TimeEnd ,datediff(millisecond,ExecutionLog.TimeStart, ExecutionLog.TimeEnd)
as millisecond,datediff(second,ExecutionLog.TimeStart, ExecutionLog.TimeEnd)as second
FROM Catalog INNER JOIN
ExecutionLog ON Catalog.ItemID = ExecutionLog.ReportID
But have a problem. Table ExecutionLog is table history.after I press view report then the data insert into table ExecutionLog.So how to do when pressing view report and processing time at the same time?
Thanks all.