Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Spooling in PL/SQL

Re: Spooling in PL/SQL

From: iceriver <jackfung188_at_gmail.com>
Date: 24 Mar 2005 09:38:07 -0800
Message-ID: <1111685887.681224.32380@f14g2000cwb.googlegroups.com>


Thanks for everyone's reply, sorry for confusing, maybe I simply explain what I am trying to do

I want to run the procedure, get the customer_id/product id and generate the results (it is just an example):

select * from customer where customer_id=xxx;
select * from order where customer_id=xxx;
select * from product where product_id=yyy;

Besides, I want to spool to the file automatically depends on the customer_id, eg xxx.txt every time.

The reason I want to do it is to verify the data on each customer right after I enter the data of each customer.

Regarding DA's suggestion, I do not get access to init.ora. I guess I couldn't use UTL_FILE in this case. Received on Thu Mar 24 2005 - 11:38:07 CST

Original text of this message

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