SELECT RAR.* FROM ( SELECT TOP 3420 'http://programmers.s...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Software Engineering

Q&A for professionals, academics, and students working within the systems development life cycle

SELECT RAR.* FROM
(
  SELECT TOP 3420
  'http://programmers.stackexchange.com/questions/' + CONVERT(NVARCHAR, p1.Id) + '/' + REPLACE(p1.Title, ' ', '-') + '/#comment' + CONVERT(NVARCHAR, c.Id) + '_' + CONVERT(NVARCHAR, p.Id) [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 '+%' AND
    LEN(Text)<50
  ORDER BY LEN(Text) DESC
) RAR
ORDER BY LEN(Text) ASC

Enter Parameters

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