Subject | RE: Re: [firebird-support] using a parameter containing a single quote |
---|---|
Author | |
Post date | 2013-10-15T22:48:47Z |
Thanks MArk, I have checked that
---In firebird-support@yahoogroups.com, <firebird-support@yahoogroups.com> wrote:On 15-10-2013 19:17, russell@... wrote:
>Are you sure the record (or the string in code) actually contains an
>
> 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?
apostrophe (U+0027) and not an U+0060 (GRAVE ACCENT), U+00B4 (ACUTE
ACCENT), U+2018 (LEFT SINGLE QUOTATION MARK) or U+2019 (RIGHT SINGLE
QUOTATION MARK)?
Mark
--
Mark Rotteveel