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: OFF-Topic : Carriage Return or Line Feed in SQL*Plus

Re: OFF-Topic : Carriage Return or Line Feed in SQL*Plus

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Wed, 08 Nov 2000 11:13:00 GMT
Message-Id: <10674.121409@fatcity.com>


since you are formatting your output.... after the last column in your select statement, you can concatenate a chr(10) which will add a linefeed/carriage return to the end of the output

>From: LBhat_at_LEVI.com
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: OFF-Topic : Carriage Return or Line Feed in SQL*Plus
>Date: Wed, 08 Nov 2000 00:21:03 -0800
>
>Hi All,
>
>We extract data from Oracle in formatted text using sqlplus. We are
>facing problems with the missing Carriage Return/Line Feed at the
>end of each text record written.
>
>How can this be corrected from Sqlplus. Is there a solution to
>use SED utility to do a conversion if sqlplus doesn't permit it.
>
>OS : HP-UX, Oracle 7.3.4
>
>- Bhat
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author:
> INET: LBhat_at_LEVI.com
>
>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).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at Received on Wed Nov 08 2000 - 05:13:00 CST

Original text of this message

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