amazon links

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

select
  top 10
  p.Id as [Post Link],
  p.Body,
  p.HasRadsLink,
  p.HasAmazonLink
  from (select
    q.*,
    CHARINDEX('rads.stackoverflow.com', q.Body) as HasRadsLink,
    CHARINDEX('www.amazon.com', q.Body) as HasAmazonLink
    from Posts q
  ) p
  where p.HasRadsLink + p.HasAmazonLink > 0

Enter Parameters

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