Pages

Men

rh

11/08/2012

How to Get Last Year Last Month End Date in SQL Server

SELECT  DATEADD(MILLISECOND, -3,DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE()) + 0, 0))

No comments :

Post a Comment