Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences
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