Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: How to insert a ' into an field

Re: How to insert a ' into an field

From: Avi Abrami <aabrami_at_intersystemsww.com>
Date: Wed, 11 Oct 2000 08:30:50 +0200
Message-ID: <39E4091A.AE56D94A@intersystemsww.com>

Oliver Huppert wrote:

> Hi there
>
> I've to insert a String conaining a ' into an table.
> The SQL-Statement:
>
> insert into [table] values ('14 jours après l'implantation');
>
> or so
>
> don't work, because of the ' after the l. Oracle means the String ends here.
>
> Plsease help me.
>
> Nice regards
> Oliver Huppert

Hi Oliver,
Just double the quote mark, like so:

    insert into [table] values ('14 jours après l''implantation');

HTH,
Avi. Received on Wed Oct 11 2000 - 01:30:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US