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: Inserting text including &

Re: Inserting text including &

From: chensm <chensm_at_sesrcs1.src.se.bp.com>
Date: Mon, 2 Aug 1999 12:17:04 +0800
Message-ID: <7o35n8$c11@eugwy1.bp.com>


SET DEF OFF Richard Gowan wrote in message ...
>
>
>It's also possible to tell SQL*Plus to ignore the &. I can't remember the
option, but it'll be under the online help
>for keyword SET.
>
>
>Regards,
>
>Richard Gowan
>
>
>
>
>DBAOracle wrote:
>>
>> I assume you are doing this in sql*plus, where the & represents a
variable.. to
>> get around the problem you have to do this:
>>
>> insert into table
>> (col1)
>> values
>> ('this is a test'||'&'||'this is not');
>>
>> Note that you seperate the & into it's own
>> quotes and cat it to the other
>> values.
>>
>> Robert
Received on Sun Aug 01 1999 - 23:17:04 CDT

Original text of this message

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