Declare @Tag VARCHAR; Set @Tag = '<javascript>'; Select ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics Meta

Q&A about the site for people studying math at any level and professionals in related fields

Declare @Tag VARCHAR;
Set @Tag = '<javascript>';

Select (Select @Tag) As Tags, Body From Posts
Where ViewCount > 5000
  And CHARINDEX(@Tag, Posts.Tags) > 0
  And (CHARINDEX('<code>', Body) > 0 Or CHARINDEX('<pre>', Body) > 0)
Order By ViewCount Desc

Enter Parameters

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