Subject | RE: [firebird-support] Reading BLOB field data |
---|---|
Author | Norman McFarlane |
Post date | 2008-09-01T13:14:26Z |
Hi group,
I am converting an existing MySQL database application (very old version of
MySQL) to FB 2.x.
I writing the code to emulate the calls made to the MySQL Classes, I have
come across a call to mysql_escape_string() which effectively escapes a
string by pre-pending a \ to certain characters. For example, a string like
this XA00 is the value will be returned as follows \XA00 is the value. This
is apparently to make the string safe to pass to MySQL in a query.
Is there something similar for Firebird, and is it in fact necessary?
Regards,
Norman
[Non-text portions of this message have been removed]
I am converting an existing MySQL database application (very old version of
MySQL) to FB 2.x.
I writing the code to emulate the calls made to the MySQL Classes, I have
come across a call to mysql_escape_string() which effectively escapes a
string by pre-pending a \ to certain characters. For example, a string like
this XA00 is the value will be returned as follows \XA00 is the value. This
is apparently to make the string safe to pass to MySQL in a query.
Is there something similar for Firebird, and is it in fact necessary?
Regards,
Norman
[Non-text portions of this message have been removed]