Please visit DEMANDDRAFT.STORE for quality of products...

Ad

Search This Blog

Thursday, November 8, 2012

How to get Last Year First Month Start Date in the SQL Server

SELECT DATEADD(year, DATEDIFF(year, 0, GETDATE())-1, 0) as LastYearFirstMonthStartDate

No comments:

Post a Comment