Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to export oracle data onto csv with where clause

3689507May 7 2020 — edited May 8 2020

Hello,

I need help to export 1.5 billion data onto csv file in chunk.   I tried to use the sqldeveloper and can't put the "object where".  It hung and terminate the wizard.

I tried to run on sqlplus and set sqlformat csv, I get an error SP2-0158: unknown SET option "sqlformat"

I even use "define sqlformat = csv".  The select * from table where ... ;

this give me a result but not in csv format.

How do I export oracle data only csv with columns specified and where clause?

thank you,

Bach-Nga

Comments
Post Details
Added on May 7 2020
22 comments
6,234 views