Time range between two times
Sql server how to select time range between two columns times. Can any one explain how to do ASAP
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.


SELECT * FROM MyTable WHERE DATEPART(HOUR, SyncDate) = 14 AND DATEPART(MINUTE, SyncDate) BETWEEN 0 AND 30
Rajkiran SwainPosted Aug 28, 2017, 3:24 AM