Tag-infos (wikis and excerpts) containing the given word

1

Please login or register to vote for this query.

(click on this box to dismiss)

Vegetarianism

Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

SELECT
    concat(
          'site://tags/',
          t.tagname,
          '/info|',
          t.tagname,
          ' ',
          case when p.posttypeid = 4 then 'excerpt' else 'wiki' end
          ) [Tag Link],
  'site://posts/' + CAST(p.Id AS varchar)+'/revisions' AS [Revisions],
  p.OwnerUserId AS [User Link],
  p.CreationDate, p.LastActivityDate,  p.Score, p.ViewCount, p.Body
FROM Posts p inner join tags t on (t.wikipostid = p.id or t.excerptpostid = p.id) 
WHERE (p.Body Like '%##word?http:##%') AND (p.PostTypeId IN (##types?4,5##))
ORDER BY p.Id DESC

Enter Parameters

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