Skip to content

Instantly share code, notes, and snippets.

@ronascentes
Created October 1, 2016 21:07
Show Gist options
  • Save ronascentes/1544d810cf3159645379daf06ae5cb96 to your computer and use it in GitHub Desktop.
Save ronascentes/1544d810cf3159645379daf06ae5cb96 to your computer and use it in GitHub Desktop.
How to truncate date in T-SQL
CONVERT(VARCHAR(10), LAST_LOAD_DATE, 101) < CONVERT(VARCHAR(10), GETDATE(), 101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment