Questions protected/unprotected by specified user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT PostId AS [Post Link], t.Name, po.creationdate
  FROM PostHistory AS p
  INNER JOIN PostHistoryTypes AS t ON p.PostHistoryTypeId = t.Id
  inner join posts po on p.postid = po.id
  WHERE PostHistoryTypeId IN (19, 20) -- Question Protected, Question Unprotected
    AND UserId = ##UserId:int##

Enter Parameters

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