![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
|';'; 11 dbms_output.put_line(stmt); |
|
Hi all, I have used UTL file utility before to dump table data into a comma seperated file but this time I have a tricky problem. I have a table called customers with the following fields work_order_no, customer_no, contract_start_date, title, Name, first_name, street, street_no, bank_code, name, liason_name and have a products table with following fields work_order_number, material_type, material_number, qty 1. I need to write the customer details + product details of the customer into a comma seperated file as below A 1001, 1234, 12.01.2004, Mr. Dr., Alphs, Thomas, my street, 12, 1112, Barclays, Mr. Dr. Alphs Thomas, EOH> - is a fixed 1001, M, 12, 1, EOL> is fixed 1001, M, 12, 1, EOL> is fixed 1001, M, 12, 1, EOF> is fixed 4 - total number of records 1 - total number of A type of records(in the first position How do i write a Pl/Sql code which can be called from command prompt. Thanks in advance Ramu |
![]() |
| Thread Tools | |
| Display Modes | |
| |