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: Question about PL/SQL

RE: Question about PL/SQL

From: Dasko, Dan <Dan.Dasko_at_cdicorp.com>
Date: Wed, 14 Mar 2001 08:26:08 -0800
Message-ID: <F001.002CC493.20010314070643@fatcity.com>

Select

        col1||'|'||
        col2||'|'||
        col3
From
        table
Where
        condition

set heading off
set pause off
set pages 1000
spool result.lst

Easiest way I know.
Then when you bring it into Excel, it's a delimited file with the | as a delimiter.

Dan

-----Original Message-----
Sent: Wednesday, March 14, 2001 5:10 AM
To: Multiple recipients of list ORACLE-L

Hallo, all you experts

Does anyone have any good example of procedure, that does a select statement from the database and afterwards automatically save this resultat to an excel file.?

Sincerely Roland Sköldblom

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Roland.Skoldblom_at_ica.se

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). _____________________________________________________________________ This e-mail message has been scanned for the presence of all known computer viruses by the MessageLabs Virus Control Center. However, it is still recommended that you use local virus scanning software to monitor for the presence of viruses. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Dasko, Dan INET: Dan.Dasko_at_cdicorp.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 Wed Mar 14 2001 - 10:26:08 CST

Original text of this message

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