Find all deleted posts by a user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select * from Posts p,PostHistory h where h.PostId=p.Id and p.OwnerUserId=##userID## and PostHistoryTypeId=12 order by h.CreationDate

Enter Parameters

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