I would like to write an SQL query that searches for a keyword in a text box, but only if it is a โwhole word matchโ (for example, when I search for โridโ, it should not match โaridโ, but it should match โget ridโ .
I am using MySQL.
Fortunately, performance doesn't matter much in this application, and the database size and row size are small enough, but I'd rather do it in SQL than in the PHP that manages it.
sql mysql full-text-search
Oddthinking Mar 18 '09 at 4:20 2009-03-18 04:20
source share