1 Answer
- Newest
- Most votes
- Most comments
0
These time values are just strings and the BETWEEN is done without any awareness that they're dates.
If you ask a dictionary for everything between "a" and "b" you get all the A words but not all the B words. If you asked a for everything between "a" and "bzzzzz" you'd probably get what you want.
Now, it would be simpler to say "a" to "b~" because a tilde character sorts after "z" and so that special word would appear between the last "b" word and the first "c" word.
For your case maybe you want between "2023-01-01" and "2023-11-10~" and since the tilde sorts after space this would cover all timestamps in 2023-11-10 inclusively.
answered 7 months ago
Relevant content
- asked 4 years ago
- asked a month ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago