Find Deleted Answers by User

0

Please login or register to vote for this query.

(click on this box to dismiss)

shows all deleted answers for the specified user

Stack Overflow

Q&A for professional and enthusiast programmers

select
    p.id as [Post Link], p.LastActivityDate
from posts as p
    INNER JOIN Users u ON p.OwnerUserId = u.Id
    INNER JOIN PostHistory h ON p.Id = h.PostId
where
    p.PostTypeId = 2 and
    p.OwnerUserId = ##USERID## and
    h.PostHistoryTypeId = '12'
order by p.LastActivityDate desc

Enter Parameters

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