Fuzzy comment search

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT 
    Comments.CreationDate,
    Comments.Id as [Comment Link]
FROM 
    Comments
WHERE
    EXISTS (SELECT 1 FROM Comments as t where
      t.PostId = Comments.PostId
      AND t.TEXT LIKE ##threadneedle:string##
    )
    AND Comments.TEXT LIKE ##needle:string##
ORDER BY 
    Comments.CreationDate DESC

Enter Parameters

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