BabyPowder2u
Programmer
I want to create a query that will select records baed on multiple criteria. I have multiple dates and hours that loop over to the next day. So, I think I need something like this:
If endhour < start hour
I want records from startday to endday-1 where hour between start hour and 2300
and
records from startday+1 to endday where hour between 0 and endhour
can I accomplish this in a single query? and if so, could you provide an example?
Thanks,
T
If endhour < start hour
I want records from startday to endday-1 where hour between start hour and 2300
and
records from startday+1 to endday where hour between 0 and endhour
can I accomplish this in a single query? and if so, could you provide an example?
Thanks,
T