SELECT dateadd(day, datediff(day, 0, CreationDate), 0) as...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT dateadd(day, datediff(day, 0, CreationDate), 0) as CreationDateDay, Count(*)
from SuggestedEdits
where CreationDate > GetDate() - 180
group by dateadd(day, datediff(day, 0, CreationDate), 0)
order by dateadd(day, datediff(day, 0, CreationDate), 0)

Enter Parameters

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