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

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow em Português

Perguntas e respostas para programadores profissionais e entusiastas

SELECT DateDiff(YY, 0, GETDATE())

select getdate()

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results