My newest comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

My newest comments

Stack Overflow

Q&A for professional and enthusiast programmers

-- My newest comments

DECLARE @UserId int = ##UserId##

SELECT 
    Comments.Id as [Comment Link],
    Comments.CreationDate
FROM 
    Comments /*join Posts on Comments.PostId = Posts.Id
        left join Posts as Q on Posts.ParentId = Q.Id*/
WHERE 
    UserId = @UserId
ORDER BY 
    Comments.CreationDate DESC

Enter Parameters

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