DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT DATEADD(month, DATEDIFF(month, -1, getdate()) - 2, 0)

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results