Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Use of the quote / apostrophe in text fields

Use of the quote / apostrophe in text fields

2004-03-15       - By Robson, Peter

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Thanks for the thought, Neil, but it won 't work. Tried that ages ago. We are
talking about SQL*Plus, incidentally.

peter
edinburgh


> -- --Original Message-- --
> From: Niall Litchfield [mailto:n-litchfield@(protected)]
> Sent: Monday, March 15, 2004 10:24 AM
> To: oracle-l@(protected)
> Subject: RE: Use of the quote / apostrophe in text fields
>
>
> In sql, or in sqlplus?
>
> If the latter how about set colsep # (or whatever).
>
> If the former how about replacing
>
> Select col1,col2,col3....
> With
>
> Select col1|| '# '||col2|| '# '||col3 ....
>
> Two quick thoughts rather than actually work on a Monday morning.
>
> Niall Litchfield
> Oracle DBA
> Audit Commission
> +44 117 975 7805
>
>
>
> > -- --Original Message-- --
> > From: pgro@(protected)
> > Sent: 15 March 2004 09:59
> > To: oracle-l@(protected); pgro@(protected)
> > Subject: Use of the quote / apostrophe in text fields
> >
> >
> > 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
> >
> >
> >
> >
> *********************************************************************
> > 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
> >
> *********************************************************************
> >
> >
>
>
>
> **********************************************************************
> This email contains information intended for
> the addressee only. It may be confidential
> and may be the subject of legal and/or
> professional privilege. Any dissemination,
> distribution, copyright or use of this
> communication without prior permission of
> the sender is strictly prohibited.
> **********************************************************************
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe send email to: oracle-l-request@(protected)
> put 'unsubscribe ' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --