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

Home -> Community -> Usenet -> c.d.o.server -> Re: How do I insert a string with a single quote

Re: How do I insert a string with a single quote

From: C. Ferguson <c_ferguson_at_rationalconcepts.com>
Date: 2000/03/18
Message-ID: <38D2D5D8.46186142@rationalconcepts.com>#1/1

insert into tmp values ('table''s');

Not a double quote, but two single quotes.

cheers,
cindy

anurag wrote:

> Hi,
> I am trying to insert a string with a single quote inside, but
> it fails. Please advise how do I tackle this problem.
>
> eg:- insert into tmp values ('table's');
> I am not supposed to change the single quote to a double quote
> for eg: insert into tmp values ('table"s');
>
> Thanks
> Anurag
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!
Received on Sat Mar 18 2000 - 00:00:00 CST

Original text of this message

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