Auto-delete comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science Meta

Q&A about the site for scientists using computers to solve scientific problems

SELECT RAR.* FROM
(
  SELECT TOP 3420
  c.Id as [Comment Link],
  c.[Text]
  FROM Comments c
  INNER JOIN Posts p ON c.PostId = p.Id
  INNER JOIN Posts p1 on p.ParentId = p1.Id
  WHERE
  (Text LIKE '+1%' OR Text LIKE '%accept%' OR Text LIKE 'thank%' OR Text LIKE 'Thank%' OR Text LIKE '%fuck%' OR Text LIKE '%shit%') AND
    LEN(Text)<60 AND
    [p1].[ClosedDate] IS NULL
    
  ORDER BY LEN(Text) DESC
) RAR
ORDER BY LEN(Text) ASC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results