C
Christian Davidsson
Hi!
I've got a query collecting data from another database, each hour of the day
between 06.00 and 23.00. It picks up the data, adds two fields where it
enters Date() and Now() in each. Date for picking up the date of the import,
and Now() for the time. Everything is stored in a ever growing table.
Now comes my problem - I want to run a query against the table and collect
the data from a certain hour. The problem is that the work requiers the data
from a certain hour to be collected, however - the importing from the 1st
database can happen from anything to -15 to +15 minutes around the hour.
So I can have a record timestamped at 10.49 and when setting up the query, I
want this to show if I select that I want data from the 11'th hour. Same if
the import was done at 11.14.
It's acceptable to have it +/- 30 minutes if that's easier.
If anyone could help me out with this problem, I'd be a verry happy chap
Thanks in advance,
Christian Davidsson
I've got a query collecting data from another database, each hour of the day
between 06.00 and 23.00. It picks up the data, adds two fields where it
enters Date() and Now() in each. Date for picking up the date of the import,
and Now() for the time. Everything is stored in a ever growing table.
Now comes my problem - I want to run a query against the table and collect
the data from a certain hour. The problem is that the work requiers the data
from a certain hour to be collected, however - the importing from the 1st
database can happen from anything to -15 to +15 minutes around the hour.
So I can have a record timestamped at 10.49 and when setting up the query, I
want this to show if I select that I want data from the 11'th hour. Same if
the import was done at 11.14.
It's acceptable to have it +/- 30 minutes if that's easier.
If anyone could help me out with this problem, I'd be a verry happy chap
Thanks in advance,
Christian Davidsson