G
Guest
Is there a way to compare a range to a between statement?
Example:
Our A shift starts at 6:00 AM and end at 6:00 PM. B shift is 6:00 PM and
ends 6:00 AM
I have a table with a start time and end time, both separate fields with a
date/time stamp in them that pertain to a wave start and stop time. What I
need to know is if a wave was ran during anytime of the shift.
Wave: 1111
Start time: 10/27/06 05:00 AM
End Time: 10/27/06 10:00 AM
1 hour of this ran on B shift and the remaining 4 hours was ran on A shift.
So if I wanted to query for waves ran on A shift how could I do this?
Example:
Our A shift starts at 6:00 AM and end at 6:00 PM. B shift is 6:00 PM and
ends 6:00 AM
I have a table with a start time and end time, both separate fields with a
date/time stamp in them that pertain to a wave start and stop time. What I
need to know is if a wave was ran during anytime of the shift.
Wave: 1111
Start time: 10/27/06 05:00 AM
End Time: 10/27/06 10:00 AM
1 hour of this ran on B shift and the remaining 4 hours was ran on A shift.
So if I wanted to query for waves ran on A shift how could I do this?