Last active
October 15, 2016 14:35
-
-
Save armand1m/73922eef60b48b7b91ed888adacf4a3d to your computer and use it in GitHub Desktop.
how to query a mssql server table by date
This file contains hidden or 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 TABLENAME | |
WHERE DateTime BETWEEN '04/12/2011 12:00:00 AM' AND '05/25/2011 3:53:04 AM' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment