Thanks for all the fish - accepted

1

Please login or register to vote for this query.

(click on this box to dismiss)

posttyepid 2 = question

Meta Stack Overflow

Q&A about the site for professional and enthusiast programmers

SELECT
   C.Id as [Comment Link]
  ,Length = LEN(C.Text COLLATE Latin1_General_BIN)
FROM Comments C
JOIN Posts P ON P.Id = C.PostId
WHERE
  P.ClosedDate IS NULL
  AND C.Text COLLATE Latin1_General_BIN LIKE '%[tT]hank%'
  AND C.Text COLLATE Latin1_General_BIN LIKE '%[eE]dited%'
  AND LEN(C.Text COLLATE Latin1_General_BIN) <= 100
  AND DATEDIFF(DAY, C.CreationDate, GETDATE()) < ##Age:int?7##
ORDER BY Length ASC
;

Enter Parameters

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