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

Ad

Search This Blog

Thursday, November 8, 2012

How to get Current Year Last Month last Date in SQL Server

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

No comments:

Post a Comment