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: inserting a & sign into a column using SQLPLUS

RE: inserting a & sign into a column using SQLPLUS

From: Dara Vaughn <dara.vaughn_at_wcom.com>
Date: Wed, 29 Nov 2000 11:21:17 -0600
Message-Id: <10695.123217@fatcity.com>


John,

Use the following SQL*Plus command:

set define off

Dara Vaughn

-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of John Dunn Sent: Wednesday, November 29, 2000 10: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 - 11:21:17 CST

Original text of this message

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