Re: spooling comma delimited file from sql where data does not wrap

From: Jared Still <jkstill_at_gmail.com>
Date: Wed, 11 Jun 2008 09:15:29 -0700
Message-ID: <bf46380806110915w4c0de62fq214cfaf8e0264fe6@mail.gmail.com>


set trimspool on

defaults to true I believe starting with some version of oracle.

On Wed, Jun 11, 2008 at 6:27 AM, Rick Ricky <ricks12345_at_gmail.com> wrote:

> I am running a query to dump some rows and I made the rows comma delimited
> like this
> select col1||','||col2||','|| ....
> from table
>
> I set lines 5000.
>
> I want to spool it so the spool file does not wrap. This way I can load the
> data into excel. The data keeps wrapping and when i import it, I get it
> wrapped in excel. its alot of columns. lines 5000 should be sufficient. I
> just don't have enough screen space for it all.
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jun 11 2008 - 11:15:29 CDT

Original text of this message