How to get the first day of the month in SQL Server ? Posted by AbundantCode If you want to get the first day of the month of a input datetime variable from a SQL Query , here’s how you do it. Top 20 Legit Paid Survey Sites to Earn Money Online SELECT DATEADD(month, DATEDIFF(month, 0, GetDate()), 0) AS StartMonthDate Share this:TweetLike this:Like Loading... AbundantCode September 7, 2016
Leave a Reply