Skip to content

Instantly share code, notes, and snippets.

@murillomarigo
Created August 8, 2014 14:13
Show Gist options
  • Save murillomarigo/81b38519c33f2be7d04b to your computer and use it in GitHub Desktop.
Save murillomarigo/81b38519c33f2be7d04b to your computer and use it in GitHub Desktop.
First day of the current month
SELECT DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment