Hi folks,
I have the following stored proc :-
SELECT Id, Name
FROM FooBars
WHERE CONTAINS(Name, 'FORMSOF(Tesaurus, @query)')
Works fine when there is one word i the query: eg. foo* But it fails when I want to have more than one word which i'm trying to look for. eg. foo* bar* (this means any rows that have words that start with foo and start with bar).
What format does my @query argument need to look like, to enable multiple words for a Full Text Search with a Thesaurus?