Lance,

As far as Excel workbooks are concerned, you can create any kind of
tab-delimited file, name the file something.xls, and you can directly open
it via excel.

So, in your case, you could do something like:

set head off
set serveroutput on
set out.xls

declare

in_param  number;  out_param1 number; out_param2 number;

begin

   call_your_procedure(in_param,out_param1,out_param2);
   dbms_output.put_Line(out_param1||chr(9)||out_param2);
end;
/

spool off


The above would create a file named out.xls with two columns populated.
You could easily extend this for more output/records.

Hope this helps

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Friday, February 01, 2002 11:35 AM
To: Multiple recipients of list ORACLE-L


All,
   Currently I run a stored procedure and manually take the results and save
them to a xls file.  I have few questions:

1. Is it possible to automatic this?
2. Is it possible to save is as an access file?
3. If it possible to do either of the above. Does anyone have examples that
I could use?


Thank you in advance
Lance

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Lance Prais
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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.com
-- 
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to