Hello. I have a Cold Fusion page at that I need assistance with. Referring to the keyword search on that page, whatever you enter has to be an exact phrase. IOW, if you type, for example, "chicken cow", it would look for that exact phrase and not return records that might contain "chicken" and "cow" (separately). I need it to have this capability. I am assuming that it is a problem with <CFQUERY>. It is as follows:
<CFQUERY NAME="REMEDYTABLE"
DATASOURCE="remedykb">
SELECT *
FROM REMEDYTABLE
WHERE upper(PROBLEM) LIKE '%#ucase(PROBLEM)#%' OR upper(PROBLEM_SOLUTION) LIKE '%#ucase(PROBLEM)#%'
</CFQUERY>
Is there a modification I can make to this so that it will not be limited to returning exact phrases?
Thanks!
Shane
<CFQUERY NAME="REMEDYTABLE"
DATASOURCE="remedykb">
SELECT *
FROM REMEDYTABLE
WHERE upper(PROBLEM) LIKE '%#ucase(PROBLEM)#%' OR upper(PROBLEM_SOLUTION) LIKE '%#ucase(PROBLEM)#%'
</CFQUERY>
Is there a modification I can make to this so that it will not be limited to returning exact phrases?
Thanks!
Shane