posttyepid 2 = question
Q&A for system and network administrators
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.PostTypeId = 2 AND C.Text COLLATE Latin1_General_BIN LIKE '%[tT]hank%' AND LEN(C.Text COLLATE Latin1_General_BIN) <= 50 AND DATEDIFF(DAY, C.CreationDate, GETDATE()) < ##Age:int?7## AND P.AcceptedAnswerId IS NOT NULL ORDER BY Length ASC ;