SELECT top 100 DATEADD(month, DATEDIFF(month, 0, Creation...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT top 100
    DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month,
    CreationDate  
  FROM
    Posts 
  WHERE
    PostTypeId = 1 -- Question
  
SELECT
    DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month,
    CreationDate
  FROM
    Posts
  WHERE
    PostTypeId = 2 -- Answer

Enter Parameters

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