Anton.Sandbox

1

Please login or register to vote for this query.

(click on this box to dismiss)

TeX Meta

Q&A about the site for users of TeX, LaTeX, ConTeXt, and related typesetting systems

-- At what hour should I add ask questions to get more answers?

-- At what hour do I ask most questions? 

DECLARE @UserId int = ##UserId##

SELECT
  DATEPART(hour, CreationDate) as hour,
  GETUTCDATE() as utc_date,
  GETDATE() as date,
  COUNT(*) as number
FROM Posts
WHERE OwnerUserId = @UserId
GROUP BY DATEPART(hour, CreationDate)

Enter Parameters

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