I have a database with names, names, addresses, etc.
I'm trying to search by last name and I have no problem escaping apostrophes, for example, the data in the O'Malley table, and if I search for O'Malley, I get the intended results,
However, I would also like to be able to search for “omalley” and still return the record “O'Malley” from the table. Is there a way to ignore an apostrophe in a table?
Or, my only other way is to create a last name field that is devoid of an apostrophe, and then use the OR statement to test both.
Brian source
share