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: Ramesh Subbyian <ramesh.subbyian_at_inventa.com>
Date: Thu, 12 Aug 1999 15:35:50 -0700
Message-ID: <37B34C46.CAC672D0@inventa.com>


& is the default character for define envionment option in SQL PLUS. Try after swiching it off. you can do that from options-->enviornment in SQL plus.

Matt Kelly wrote:

> 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

--

Ramesh Subbyian                             Work    : 650-413-1217
http://www.inventa.com                    Pager    : 888-709-3153


Received on Thu Aug 12 1999 - 17:35:50 CDT

Original text of this message

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