get all my comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

Woodworking

Q&A for professional and amateur woodworkers

DECLARE @userid INT
SET @userid = (SELECT Id FROM Users WHERE DisplayName = 'mosvy')
SELECT Id AS Id, PostId, CreationDate, Text
  FROM Comments
 WHERE UserId = @userid
 ORDER BY CreationDate

Enter Parameters

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