RE: sqlplus format issue

From: Sweetser, Joe <>
Date: Tue, 5 Jan 2010 15:36:44 -0700
Message-ID: <89FD2C8D7D551D4598EF20C7E42FEB45053EDF2F_at_earthquake.ICAT.COM>

set trimspool on ?  

[] On Behalf Of Lei Zeng Sent: Tuesday, January 05, 2010 3:31 PM
To: oracle-l
Subject: sqlplus format issue  

Hi, I have a quick question about using sqlplus here. There is a requirement to select 1 column and spool out to a plain text file. The data type if varchar2(1500) but most of rows are only 100 characters long, only few are >1000 characters. I would like the spool file have one line for each row, doest that mean I have NO other choice but ' set linesize 1500 ' ? is there another way to tell sqlplus do not wrap into new line for one table row?  

My concern is that 'set linesize 1500' makes the spool file too big because those white spaces.  



Received on Tue Jan 05 2010 - 16:36:44 CST

Original text of this message