newb question: ... LIKE "%somestring%" fails

"Edgar Meij" <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hello everyone,

 

I'm trying to get a query going which contains a percentage mark (in
conjunction with the sql LIKE operator). Perl doesn't seem to like this in a
string (containing my query) however. Does anyone know how to circumvent or
solve this?

 

Thanks in advance,

 

Edgar Meij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.