Find linked posts in my posts


Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

WITH userLinkedPosts AS (

     SELECT   p.CreationDate AS 'PostedDate', p.Id, 
              l.CreationDate AS 'LinkedDate', l.RelatedPostId

     FROM     Posts as p

              RIGHT JOIN PostLinks as l ON p.Id = l.PostId

     WHERE    OwnerUserId = ##UserId##

SELECT   PostedDate AS 'Posted Date', Id, Id AS [Post Link], 
         LinkedDate AS 'Linked Date', RelatedPostId AS [Post Link]

FROM     userLinkedPosts AS ulp

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results