Comments by [userId[ with [text]

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Overflow

Q&A about the site for professional and enthusiast programmers

declare @uid int = ##UserId:int##
declare @txt nvarchar(600) = ##Text:string##

select
id as [Comment Link],
text
from
comments
where
userid = @uid
and text like '%'+@txt+'%'

Enter Parameters

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