select all comments

1

Please login or register to vote for this query.

(click on this box to dismiss)

Sitecore Meta

Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software

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 DESC

Enter Parameters

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