Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: inserting a & sign into a column using SQLPLUS
Use
values (1,2,chr(38)||'Start')
HTH
Ed Maurer
Sr. DBA
Acquirex
> -----Original Message-----
> From: John Dunn [mailto:john.dunn_at_sefas.co.uk]
> Sent: Wednesday, November 29, 2000 8:41 AM
> To: Multiple recipients of list ORACLE-L
> Subject: inserting a & sign into a column using SQLPLUS
>
>
>
> > 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).
Received on Wed Nov 29 2000 - 12:06:25 CST