I have a table that has a column \"Created\" as a datetime.
I\'m trying to query to check if the time for the Created value is between two times.
The Created
Should be AND instead of OR
select * from MyTable where CAST(Created as time) >= '23:00:00' AND CAST(Created as time) < '07:00:00'