I'm trying to query a specific range of time:
- i.e. 3/1/2009 - 3/31/2009
- between 6AM-10PM each day
- Tues/Wed/Thurs only
I've seen that you can get data for a particular range, but only for start to end and this is quite a bit more specific. I didn't see any SQL Server commands that would directly help me on this, so does anybody else have any thoughts on how you would form this?
I've seen this, but I don't think it's nearly specific enough for this range.
Thanks!
I'm assuming you want all three of those as part of the selection criteria. You'll need a few statements in your where but they will be similar to the link your question contained.
Hope this helps.
I (using PostgrSQL on PGadmin4) queried for results that are after or on 21st Nov 2017 at noon, like this (considering the display format of hours on my database):
you can try this (I don't have sql server here today so I can't verify syntax, sorry)