The longest dupe chains of the site

1

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

CREATE TABLE #Dupes (
  DupeId INT,
  OrigId INT,
  Depth INT
);

INSERT INTO #Dupes
SELECT PostId AS DupeId, RelatedPostId AS OrigId, 1 AS Depth
FROM PostLinks
WHERE LinkTypeId = 3;

DECLARE @depth INT = 1;

Enter Parameters

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