JohnandSwifty
Technical User
Hi,
I have a query that checks the relevant fields for a match of each word in a search phrase. The problem is i need to check to see if the whole phrase matches as well. So what i want is
WHERE field01 LIKE #SearchPhrase#
OR (
field01 LIKE #SearchPhrase[1]#
AND field01 LIKE #SearchPhrase[2]#
AND field01 LIKE #SearchPhrase[3]#
)
can anyone tell me how to make this work?
Thanks
I have a query that checks the relevant fields for a match of each word in a search phrase. The problem is i need to check to see if the whole phrase matches as well. So what i want is
WHERE field01 LIKE #SearchPhrase#
OR (
field01 LIKE #SearchPhrase[1]#
AND field01 LIKE #SearchPhrase[2]#
AND field01 LIKE #SearchPhrase[3]#
)
can anyone tell me how to make this work?
Thanks