Export data to excel saved in another computer

R

raymond chiu

Dear all,

I need your help again.
I have one question in dot net.
If I have withdraw the data which will be exported into different excel
file, separated by different customer, and saved in the same folder of
another computer. What the syntax should be??

----------------------------------------------------------------------------------------
select count(distinct customer) into record_count from table 1;

insert into table2 select customer from table1 group by customer;

Loop for each customer

select * from table1 where customer='123456Customer'

get the excel

write to the excel

saved in the folder path and named as '123456customer.xls'


end loop;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top