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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: insert & into column

Re: insert & into column

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Fri, 24 Nov 2000 14:00:47 -0000
Message-Id: <10690.122848@fatcity.com>


you have to tell SQL*Plus to ignore it:

set escape \
then use \&Start in your SQL command

>From: John Dunn <john.dunn_at_sefas.co.uk>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: insert & into column
>Date: Fri, 24 Nov 2000 05:15:21 -0800
>
>
> > When using SQLPLUS on UNIX, how do I get it to treat "&" as a literal
> > value rather than asking for a substitution e.g.
> >
> > INSERT INTO FORM_TEXT VALUES (
> > 1, 3, '&Start'
> > );
> >
> > I want the field in the table to contain &Start, and not prompt me for a
> > value.
> >
> > I'm tried &&Start, \&Start, /&Start to get it to treat it as a character
> > but no luck.
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: John Dunn
> INET: john.dunn_at_sefas.co.uk
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com Received on Fri Nov 24 2000 - 08:00:47 CST

Original text of this message

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