Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Insert single quote
You need to use four quotes:
insert into tablename (columname)
values ('''');
Paul
"Marty Provost" <liquidgolf_at_earthlink.net> wrote in message
news:kG3L4.61705$q67.917595_at_newsread2.prod.itd.earthlink.net...
> Stupid question...
>
> What's the syntax to insert a string that contains a single quote?
>
> Example:
>
> TABLENAME
> columnname varchar2(100)
>
> insert into tablename (columname)
> values ('help me insert this ' into this column');
>
> Thanks in advance,
> Marty
>
>
Received on Wed Apr 19 2000 - 00:00:00 CDT