Q&A for professional and enthusiast programmers
--http://meta.stackoverflow.com/questions/299596/can-i-find-out-how-i-got-an-announcer-badge?cb=1 DECLARE @UserId int = ##UserId## SELECT Comments.PostId as [Post Link], Comments.Text FROM Comments WHERE Comments.UserId = @UserId and Comments.Text like '%http://stackoverflow.com/%'