Created
July 26, 2013 02:00
-
-
Save monyskynet/6085463 to your computer and use it in GitHub Desktop.
Get Row in Date range
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
AND ClickedDate BETWEEN '01/03/2012' AND '12/03/2013' | |
-- OR | |
AND DATEADD(DAY, DATEDIFF(DAY, 0, ClickedDate), 0) BETWEEN '01/03/2012' AND '12/03/2013' | |
--OR | |
AND ClickedDate >= '01/03/2012' AND ClickedDate <= '12/03/2013' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment