Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Spool to Excel File
Hi,
You won't be able to write an Excel format directly but you can create a .csv file, which Excel will happily read in - you'll just have no real formatting options.
Look into some of the sql*plus commands like "set heading off", "set verify off", "set feedback off", "set pages 0", "set lines 1000", "set trimspool on". Of course you might want different settings to the ones I proposed but you will find these commands useful to get rid of stuff you don't (or perhaps do) want in the file.
If you really want to generate a legitimate Excel file then start searching the web for programs to do this. I have seen one or two that do this reasonably well but cannot remember names.
Regards,
Mark.
"Mudhalvan, Moovarkku" To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> <mmudhalvan_at_gcrej cc: apan.co.jp> Subject: Spool to Excel File Sent by: ml-errors_at_fatcity .com 20/01/2004 15:44 Please respond to ORACLE-L
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
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mudhalvan, Moovarkku INET: mmudhalvan_at_gcrejapan.co.jp 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 Mon Jan 19 2004 - 23:14:25 CST
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (03) 9612-6999 or (61) 3 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban Infrastructure Developments Limited and CityLink Melbourne Limited shall be understood as neither given nor endorsed by them.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mark Richard INET: mrichard_at_transurban.com.au 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).