Q&A about the site for Drupal developers and administrators
DECLARE @userid INT SET @userid = '##UserId##' select top 100 postid as [Post Link] , score , [text] , userid as [User Link] , creationdate from comments where userid=@userid order by score desc