I have a log table from which I'm trying to produce a summary table (recs processed, seconds, recs/second). To do this I (obviously) need the value of the previous record count and timestamp. Is there a way of doing this with SQL, or will I have to code a good old fashioned loop? advTHANKSance... ...kt