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: Spool to Excel File

Re: Spool to Excel File

From: Michael Boligan <michael.boligan.b_at_bayer.com>
Date: Tue, 20 Jan 2004 10:49:43 -0800
Message-ID: <F001.005DDAAF.20040120104943@fatcity.com>

I've never used it before, but there is a piece to Excel called Microsoft query that allows you to query the database directly. Check help in Excel, search for query -> ways to retreive data from external sources.

HTH,
Mike

                                                                                                                                     
                      Daniel Hanks                                                                                                   
                      <hanksdc_at_about-in        To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                 
                      c.com>                   cc:                                                                                   
                      Sent by:                 Subject:  Re: Spool to Excel File                                                     
                      ml-errors_at_fatcity                                                                                              
                      .com                                                                                                           
                                                                                                                                     
                                                                                                                                     
                      01/20/2004 01:04                                                                                               
                      PM                                                                                                             
                      Please respond to                                                                                              
                      ORACLE-L                                                                                                       
                                                                                                                                     
                                                                                                                                     




If you're keen on Perl, the Spreadsheet-WriteExcel module is very handy:

http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-0.42/

With that you could slurp data out via DBI, and then build a customized spreadsheet based on the data.

But I'd agree with what others have said. Dumping to csv, or some other delimited format and then importing into Excel would probably be the easiest way to go.

On Mon, 19 Jan 2004, Mudhalvan, Moovarkku wrote:

> Dear Friends,
>
> I am trying to send output from SQLPlus to Excel file. If any
> one did the same before please let me know.
>
> Thank You
>
> Mudhalvan M.M
>


   Daniel Hanks - Systems/Database Administrator    About Inc., Web Services Division


--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Daniel Hanks
  INET: hanksdc_at_about-inc.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.net
-- 
Author: Michael Boligan
  INET: michael.boligan.b_at_bayer.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 Tue Jan 20 2004 - 12:49:43 CST

Original text of this message

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