Created
March 16, 2018 06:55
-
-
Save Royovo/b4327c83a3346ca9e2330b535e66ace9 to your computer and use it in GitHub Desktop.
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
DECLARE @dt DATETIME | |
SET @dt = GETDATE() | |
@dt = DATEADD(ms,-DATEPART(ms,@dt),@dt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment