Archaeologist

0

Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

DECLARE @UserId INT = ##UserId##;
SELECT
  p.Id as [Post Link]
FROM
  Posts p
INNER JOIN Posts a on a.ParentId = p.Id
WHERE p.LastEditDate < DATEADD(month, -6, p.LastActivityDate)
AND( p.OwnerUserId = @UserId OR  a.OwnerUserId = @UserId)

Enter Parameters

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