Search comments by User ID

0

Please login or register to vote for this query.

(click on this box to dismiss)

Data Science Meta

Q&A about the site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field

DECLARE @pattern nvarchar(100) = UPPER(##Pattern:string##)

SELECT
    Id AS [Comment Link],
    Score,
    CreationDate,
    PostId AS [Post Link]
FROM Comments    
WHERE UserId = ##UserID## AND UPPER(Text) LIKE '%' + @pattern + '%'
ORDER BY CreationDate DESC

Enter Parameters

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