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: DBAOracle <dbaoracle_at_aol.com>
Date: 14 Jul 1999 22:39:09 GMT
Message-ID: <19990714183909.29466.00000297@ng-cn1.aol.com>


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 Wed Jul 14 1999 - 17:39:09 CDT

Original text of this message

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