Comments By Hour

1

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

SELECT DATEPART(HOUR, DATEADD(HH,##TimeZoneDiff##, CreationDate)) As Hour,
       COUNT(*) AS Count
FROM Comments
WHERE UserId = ##UserId##
GROUP BY DATEPART(HOUR, DATEADD(HH,##TimeZoneDiff##, CreationDate))
ORDER BY Hour

Enter Parameters

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