Created
July 12, 2018 08:10
-
-
Save alikrc/851f41155d94a7ad83f88e27c9f5e726 to your computer and use it in GitHub Desktop.
Take only date part of full date
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
select CONVERT(DATE,'2018-07-18 00:00:00') | |
--RESULT: 2018-07-18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment