Search UserId's Favorites containing some Text (Wildcard)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Search UserId's Favorites for text contents (case-insensitive). Results are sorted (descending) by Question score.

Stack Overflow

Q&A for programmers

-- Search UserId's Favorites  containing some Text (Wildcard)
-- Search UserId's Favorites for text contents (case-insensitive).  Results are sorted (descending) by Question score.

SELECT Posts.id as [Post Link], Posts.Score as [Score], Posts.Tags as [Tagged With]

FROM Votes, Posts

WHERE
     (Votes.PostId=Posts.Id) AND
     (Votes.VoteTypeId = 5) AND
     (Votes.UserId=##User:int##) AND
     ((lower(Posts.Tags) LIKE lower('%<##Text##>%')) OR
     (lower(Posts.Title) LIKE lower('%##Text##%')) OR
     (lower(Posts.Body) LIKE lower('%##Text##%')))


ORDER BY Posts.Score DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached