Post time distribution of a user

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT
  ROW_NUMBER() OVER (ORDER BY DATEPART(hour, CreationDate)) AS Number,
  DATEPART(hour, CreationDate) AS Hour
FROM Posts
WHERE OwnerUserId = ##UserId##
ORDER BY DATEPART(hour, CreationDate)

Enter Parameters

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