Last active
August 29, 2015 14:13
-
-
Save TRex22/3f25ae3139863f2deb7c to your computer and use it in GitHub Desktop.
Sql Server WHERE to get only transactions from today (date) from utc column
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 db | |
WHERE DateRequested >= DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment