I have an ASP - SQL query (for a music/media webpage) which searches for keyword, the problem the site has is that it returns words within words, for example; search for Enya, and it returns Kenya (and lots of them). The search uses "LIKE '%Enya%'".
Is there any way of specifying that % should not include other alphabetic characters, i.e. only include: spaces, end of field, or beginning of field, comma, and other non alphabetic characters such as hyphen?
Any suggestions will be very much appreciated.
I would like to try out the full-text facility, but the shared server we are hosting on will not allow this as we don’t have permissions.
Thank you,
Phydos
Is there any way of specifying that % should not include other alphabetic characters, i.e. only include: spaces, end of field, or beginning of field, comma, and other non alphabetic characters such as hyphen?
Any suggestions will be very much appreciated.
I would like to try out the full-text facility, but the shared server we are hosting on will not allow this as we don’t have permissions.
Thank you,
Phydos