List of edits by given user between two dates

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT
  ph.PostId AS [Post Link],
  'site://posts/' + CAST(ph.PostId AS varchar)+'/revisions' AS [Revisions],
  ph.Comment, ph.CreationDate
FROM PostHistory ph
WHERE (ph.UserId=##userid##)
  AND (ph.PostHistoryTypeId in (##types?1,2,3,4,5,6,7,8,9##))
  AND (ph.CreationDate >= '##Date1?2021-01-01##') AND (ph.CreationDate <= '##Date2?2022-01-01##')
ORDER BY ph.CreationDate

Enter Parameters

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