"steve" <Us************@dbForumz.com> wrote in message
news:41**********@news.athenanews.com...
"Daniel Tonks" wrote: > OK, here’s possibly a weird one. Is there any way to do string
> comparisons
> and ignore all non-alphanumeric characters? For instance, check
> "foobar" and
> have it match an existing record of "f$#!oo B(a)*R".
>
> - Daniel
check for "mysql regex" on search engines.
http://dev.mysql.com/doc/mysql/en/Regexp.html
I looked into that, but it only seems useful to specific pattern matching -
I can't find any way to selectively NOT match something that is unknown,
while continuing to match something else (and not have it also match normal
characters, such as "footbar"). After some Googling I found someone who
merely wanted to ignore spaces, but alas it looks like even that cannot be
done with mere database commands.
So I many have to go the inefficient route: retrieve the entire column and
do my own processing.
- Danniel