Last active
November 3, 2015 11:22
-
-
Save umair-me/8692078 to your computer and use it in GitHub Desktop.
Get records between two 2 dates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM TABLE | |
where datetime >= Convert(datetime, '2014-01-17 00:00:01', 120) | |
AND datetime <= Convert(datetime, '2014-01-17 23:59:01', 120) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment