RE: Use of the quote / apostrophe in text fields

  • From: "Robson, Peter" <pgro@xxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 15 Mar 2004 10:47:23 -0000


> 
> I know of no other means than a systematical and ugly REPLACE
> (COL, '''', '''''').


Precisely - which prompted my question. Thanks, Stephane!

peter

> 
> > Many of our data fields require use of a quote embedded 
> within the text
> > field, most particularly for proper names (eg 'A'MHOINE 
> PSAMMITE', just to
> > give you a taste of Scottish geological terminology!)
> >  
> > This can prove troublesome where autogenerated update 
> scripts are used, in
> > which the value of the field is retrieved back into a 
> quote-delimited
> > string.
> >  
> > Is anyone aware of a means of redefining the field 
> delimiter from a quote to
> > some other arbitrary character in SQL?
> >  
> > thanks,
> >  
> > peter
> > edinburgh
> >  
> > 
> 
> 
> -- Oracle scripts, papers and DBA Tools --
> -- Oriole Corporation --
> -- http://www.oriole.com/ --
> 
> 
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
> put 'unsubscribe' in the subject line.
> --
> Archives are at //www.freelists.org/archives/oracle-l/
> FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
> 


*********************************************************************
This  e-mail  message,  and  any  files  transmitted  with  it, are
confidential  and intended  solely for the  use of the  addressee. If
this message was not addressed to  you, you have received it in error
and any  copying,  distribution  or  other use  of any part  of it is
strictly prohibited. Any views or opinions presented are solely those
of the sender and do not necessarily represent  those of the British
Geological  Survey. The  security of e-mail  communication  cannot be
guaranteed and the BGS accepts no liability  for claims arising as a
result of the use of this medium to  transmit messages from or to the
BGS. .                            http://www.bgs.ac.uk
*********************************************************************

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: