Escape the % signs like "\%something\%"
Regards,
Pete
To have principles...
First have courage.. With principles comes integrity!!!
-----Original Message-----
From: Edgar Meij [mailto:Edga...@student.uva.nl]
Sent: Tuesday, November 09, 2004 5:03 AM
To: pe...@lists.mysql.com
Subject: newb question: ... LIKE "%somestring%" fails
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,