That depends on the actual format you're using. If you're not keeping track of the date, it's simply
select * from mytable where timefield <= '08:00' or timefield >= '20:00'
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
It's still not clear. How do you store the date? Do you store it at all?
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
Does this mean that the date part is irrelevant and you're only working with the time part?
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254