My (un)protected questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

SELECT 
  [Post Link] = ph.PostId,
  case when ph.PostHistoryTypeId = 19 then 'Protected' else 'Unprotected' end,
  ph.CreationDate
FROM PostHistory ph
WHERE ph.PostHistoryTypeId in (19, 20)
  and ph.UserId = ##UserId##
ORDER BY ph.CreationDate DESC

Enter Parameters

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