Created
July 8, 2017 00:18
-
-
Save gabrielizalo/7f7143f60a5a231b2dd3c1663afdfe8c to your computer and use it in GitHub Desktop.
MS SQL - GetDate without time
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 CAST ( FLOOR ( CAST ( GETDATE() AS DECIMAL (12, 5) ) ) AS DATETIME ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment