My Most Popular Comments

6

Please login or register to vote for this query.

(click on this box to dismiss)

Code Golf and Coding Challenges

Q&A for programming puzzle enthusiasts and code golfers

DECLARE @UserId int = ##UserId##

SELECT 
TOP 100
    Score,
    LEFT(Text, 100),
    PostId as [Post Link]
FROM 
    Comments
WHERE 
    UserId = @UserId
ORDER BY 
    Score DESC,
    PostId DESC

Enter Parameters

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