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: set command

RE: set command

From: Toepke, Kevin M <ktoepke_at_trilegiant.com>
Date: Mon, 10 Jun 2002 11:50:34 -0800
Message-ID: <F001.004794CC.20020610115034@fatcity.com>


Here is what I use. It wraps at the 32768th character.  

SET PAUSE OFF
SET TRIMSPOOL ON
SET TRIMOUT ON
SET TERMOUT OFF
SET PAGESIZE 50000
SET LINESIZE 32767 -----Original Message-----
Sent: Monday, June 10, 2002 2:09 PM
To: Multiple recipients of list ORACLE-L

Paula,

    TRIMSPOOL will only remove the trailing characters in an output file. Normally, the output is padded with blanks up to the length defined by LINESIZE. I don't think TRIMSPOOL will help, but I could be wrong.  

    How long is the command you are trying to output? What is the setting for WRAP?  

Daniel W. Fink
Sr. Oracle DBA
MICROMEDEX
303.486.6456

-----Original Message-----
Sent: Monday, June 10, 2002 11:28 AM
To: Multiple recipients of list ORACLE-L

set linesize alone doesn't help - but will try it with set trimspool

-----Original Message-----
Sent: Monday, June 10, 2002 12:48 PM
To: Multiple recipients of list ORACLE-L

Oracle doesn't place anything. SQL*Plus does. If you generate scripts from SQL*Plus:
set linesize ...  

--

Alexandre

Guys,

Building scripts from SQL generating SQL in Oracle on Unix. I know that there are set commands so that Oracle does not put CR or LF in the middle of a long command. Does anyone know these off the top of their head?

Thanks,
Paula

set array...?
set maxdata...?

--

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

Author: Toepke, Kevin M
  INET: ktoepke_at_trilegiant.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). Received on Mon Jun 10 2002 - 14:50:34 CDT

Original text of this message

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