how to export data from around 300 tables in ORACLE DB to csv or txt files
问题 Is there any possibility to export data from around 300 tables within single schema with millions of records to CSV or TXT using any PL/SQL procedure? What do you propose, which is fastest way to do it? For the moment I do not need to import these exported files to any other schema... I tried with Toad manually exporting table by table... 回答1: you can try following steps. write a loop to get the table names use cursors to fetch the data from each table use SYS.UTL_FILE utilities to write the