Thanks-
I realized that just a minute ago.  It's been a long day!

Wendy Hopper 

*248-696-6193 (Onstar) / 248-696-2390 (New King)
* [EMAIL PROTECTED] 



-----Original Message-----
Sent: Wednesday, March 19, 2003 4:58 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'


Yes.  CHR(10) is linefeed ("LF").  CHR(13) is carriage return ("CR", aka
"^M").

Enjoy!  :)

Rich

Rich Jesse                        System/Database Administrator
[EMAIL PROTECTED]           Quad/Tech International, Sussex, WI USA


-----Original Message-----
Sent: Wednesday, March 19, 2003 3:29 PM
To: Multiple recipients of list ORACLE-L


Hi all-

I am trying to write a query that strips carriage returns from a comment
field while selecting the data to a file.   I have used the following
command -

select replace( field1, chr(10), '*' ) from table1;

The query seems to remove the carriage returns when returning the data via
sqlplus, but when I spool the output to a file it still shows ^m followed by
* in it.  Any ideas on what is going on here?

Thanks for any help. 

Wendy
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hopper, Wendy S
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).

Reply via email to