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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Inserting "&" in SQL*Plus

Re: Inserting "&" in SQL*Plus

From: Wolf 'n Pinguin <duif.op.spijkers_at_wxs.nl>
Date: 14 Aug 1999 23:36:31 GMT
Message-ID: <01bee6a8$ea1fcf40$dee179c3@nentjesi>


Alter the insert like this :
INSERT INTO test_table (company_name) VALUES ('a /& b industries') escape '/'

Ide

Matt Kelly <mkelly_at_shell.clark.net> schreef in artikel <i_Gs3.314$BI1.16839_at_iad-read.news.verio.net>...
> Question:
>
> INSERT INTO test_table (company_name) VALUES ('a & b industries');
>
> What can I use to ESCAPE the "&" in the example above?
>
> SQL*Plus keeps prompting me for the value of "b", but I only
> want to store the text string "a & b industries".
>
> Please email me if you know the answer!
>
> Thanks,
>
> --
> Matthew Kelly
> mkelly_at_clark.net
>
Received on Sat Aug 14 1999 - 18:36:31 CDT

Original text of this message

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