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: SQLPLUS spool file question

RE: SQLPLUS spool file question

From: Vergara, Michael (TEM) <mvergara_at_guidant.com>
Date: Wed, 11 Dec 2002 09:15:05 -0800
Message-ID: <F001.00517A2C.20021211091505@fatcity.com>


D'Oh! I saw Mark's original message say '^L', and my brain read that as '^M'! The '^L' comes from the value of NEWPAGE. "Set NEWPAGE 0" is what adds the '^L'; "set newpage n" makes SQL*Plus throw 'n' linefeeds between pages.

Sorry 'bout any confusion!

Mike

-----Original Message-----
Sent: Wednesday, December 11, 2002 8:54 AM To: Multiple recipients of list ORACLE-L

Mark - A control-L is an ASCII form feed, if that helps. You could use the Unix command "tr" to remove them.

Dennis Williams
DBA, 40%OCP
Lifetouch, Inc.
dwilliams_at_lifetouch.com <mailto:dwilliams_at_lifetouch.com>

-----Original Message-----
Sent: Wednesday, December 11, 2002 10:04 AM To: Multiple recipients of list ORACLE-L

I'm creating a spool file of SQL commands based on several "select...from" statements. When I "vi" my output file, I see a "^L" character as the first character after each of my select statements. I remember a solution being presented a few years ago that allowed you to eliminate the "^L" on this list but I've managed to loose it. I seem to remember that you must use silent mode (-s) and the proper setting of several of the SQLPlus environment variables. Any help would be appreciated

Mark Willett
Sunnen Products Company

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM

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: 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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Vergara, Michael (TEM)
  INET: mvergara_at_guidant.com

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: 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). Received on Wed Dec 11 2002 - 11:15:05 CST

Original text of this message

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