Subject | using a parameter containing a single quote |
---|---|
Author | |
Post date | 2013-10-15T17:17:14Z |
running inside Delphi if I use the query
select * from person where email = :email
if the email address is a@... then it is fine, but if the email contains an apostrophe a'oneill@b,com then it fails to locate the record. Even if I use a string replace rather than a parameter it fails.
In FlameRobin
select * from person where email = 'a''oneill@...'
is fine.
any ideas?