Sql querry using a comma delimited form submission
Posted on 2009-07-13
Hello, I have a form that submits a key word and searches through all my fields within a table. I use the % wildcards at the begining and end which works fine. It was brought up that they want the search to take comma delimited words and find all related content. Right now if you do that it's trying to find the whole string example: (eyes,toes,feet) it will not find anything, but it will find something if you just put in "eyes". what's the best suggestion for setting up a form and an sql query to get the results? thanks in advance!
P.S. I have this coded in Classic asp.