Comment pings in descending order by username

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

declare @username nvarchar(40) = ##user:string##

select
  creationdate, text
from
  comments
where
  Text like '@'+@username+'%'
order by
  creationdate desc

Enter Parameters

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