Pages

Men

rh

11/08/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