What is best way to populate 1 million rows into csv file from SQL query using Sqlplus or PL/SQL
I tried using spool but it is taking more than 1 hour to populate data into file.
I need records return by query should go to cav file with in minutes.
Please suggest.
Thanks.