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