Find targets for duplicate posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Each duplicate question has up to three other questions as the non-duplicate posts. This query finds the posts that duplicate questions point to. It mostly works, but no guarantees.

Moderators

Q&A for community managers, administrators, and moderators

select top 200 PostId as [Post Link], Text,
    substring(Text,
              charindex('[', Text)+1,
              charindex(']', Text) - charindex('[', Text) - 1) as [Post Link]
from PostHistory h
where PostHistoryTypeId = 10
and Comment in (1, 101)
order by CreationDate desc

Enter Parameters

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