Retrieve Your Comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

See your old comments (up to 500) and how many upvotes they have

Stack Overflow

Q&A for professional and enthusiast programmers

-- Retrieve Your Comments
-- See your old comments (up to 500) and how many upvotes they have

DECLARE @UserId int = ##UserId##

SELECT top 500
    Score AS [Up Votes],
    PostID AS [Post Link]
FROM 
    Comments
WHERE 
    UserId = @UserId
ORDER BY 
    Score DESC

Enter Parameters

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