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

Ad

Search This Blog

Thursday, November 8, 2012

How to Get Previous Month End Date in SQL Server

SELECT DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GETDATE()),0))

No comments:

Post a Comment