Pages

Men

rh

11/08/2012

How to get Last Month Start Date in SQL Server


SELECT DATEADD(month, datediff(month, 0, getdate())-1, 0)

No comments :

Post a Comment