beckwiga
Programmer
- Mar 30, 2005
- 70
Hi All!
I'm pretty sure this is possible, although I'm having trouble getting started. If you look at my screen in the link, I want to compare the time in the record with the time in the record just after it (log_id + 1) and then do a TIMEDIFF (if such a function exists to get the number of seconds elapsed from one operation to the next? Does anyone know how I can get started? I'm assuming I need to do a subquery to get the record after the record in my main query and then compare the times of the two.
BTW, I'm doing this in SQL Server syntax... Thanks in advance for any help.
beckwiga
I'm pretty sure this is possible, although I'm having trouble getting started. If you look at my screen in the link, I want to compare the time in the record with the time in the record just after it (log_id + 1) and then do a TIMEDIFF (if such a function exists to get the number of seconds elapsed from one operation to the next? Does anyone know how I can get started? I'm assuming I need to do a subquery to get the record after the record in my main query and then compare the times of the two.
BTW, I'm doing this in SQL Server syntax... Thanks in advance for any help.
beckwiga