Questions closed for a custom reason


Please login or register to vote for this query.

(click on this box to dismiss)

This does not work because PendingFlags only has pending close votes, not votes that succeeded.

Stack Overflow

Q&A for professional and enthusiast programmers

select top ##NumResults:int?50##
  p.Id as [Post Link]
from PostHistory ph
inner join PostHistoryTypes pht on ph.PostHistoryTypeId =
inner join Posts p on ph.PostId = p.Id
--inner join PendingFlags pf on p.Id = pf.PostId
where pht.Id = 10
--and pf.CloseAsOffTopicReasonTypeId = ##CustomCloseReason:int?4##

Enter Parameters

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