Tag wikis with internal http:// links

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

SELECT DISTINCT
  Tags.Id,
  Tags.TagName,
  'site://tags/' + Tags.Tagname + '/info|Url' AS Url
FROM Tags
LEFT JOIN Posts ON Posts.Id = Tags.WikiPostId OR Posts.Id = Tags.ExcerptPostId
WHERE
  (
  LOWER(Posts.Body) LIKE '%http://%stackexchange.com%'
  OR
  LOWER(Posts.Body) LIKE '%http://%.stackoverflow.com%'
  OR
  LOWER(Posts.Body) LIKE '%http://%.serverfault.com%'
  OR
  LOWER(Posts.Body) LIKE '%http://%.superuser.com%'
  )
ORDER BY Tags.Id

Enter Parameters

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