Created
July 18, 2011 15:39
-
-
Save hoffstein/1089894 to your computer and use it in GitHub Desktop.
TSQL truncate time (returns just the date at 12:00:00AM)
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
DATEADD(d, DATEDIFF(d, 0, @date), 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment