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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to insert data containing a &

Re: How to insert data containing a &

From: Graham Bleach <itdcgb_at_its.spamfree.hants.gov.uk>
Date: Fri, 11 Feb 2000 14:38:04 -0000
Message-ID: <8816ni$4vn$1@news.hants.gov.uk>


I assume this is in SQL*Plus. I can think of two ways.

  1. Set escape ! insert into some_table values ('dfjghdg!&fhjhf'); This defines an escape character to tell SQL*Plus to ignore special characters.
  2. Define off (or Define <char>) insert into some_table values ('gfhjsg&hfagfgsf'); This stops & being defined as the substitution variable prefix.

Check your SQL*Plus manual for more info. Received on Fri Feb 11 2000 - 08:38:04 CST

Original text of this message

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