Skip to content

Instantly share code, notes, and snippets.

@dalmat36
Last active August 29, 2015 13:57
Show Gist options
  • Save dalmat36/9569462 to your computer and use it in GitHub Desktop.
Save dalmat36/9569462 to your computer and use it in GitHub Desktop.
SQL Server 2012 DATEFROMPARTS Function
/*DATEFROMPARTS
example returns the a date using provide parts and input*/
SELECT DATEFROMPARTS(2014,02,28) AS NewDate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment