I have 1000 (or more) records in an SQL table for the last 60 days.
I fetch the last 30 days worth and put them in a temp SQL table.
I then traverse the file and insert midnite time stamps for each day, since every day must begin and end with a midnite record.
I then traverse the same file and update each record - setting a duration field (time between each record).
It all works fine using SQL as a table, but is there a faster way to perform this? It does seem slow on my 1 Ghz processor (10 to 12 seconds).
I then use this temp table to present a tableview (rows and columns) showing each days restricted data.
Thanks
MHW
I fetch the last 30 days worth and put them in a temp SQL table.
I then traverse the file and insert midnite time stamps for each day, since every day must begin and end with a midnite record.
I then traverse the same file and update each record - setting a duration field (time between each record).
It all works fine using SQL as a table, but is there a faster way to perform this? It does seem slow on my 1 Ghz processor (10 to 12 seconds).
I then use this temp table to present a tableview (rows and columns) showing each days restricted data.
Thanks
MHW