Extracting data into different flat files
I am using oracle 10g.
I've to run a very complex query that will extract/spool around 300 million records. It is so expensive to run the query multiple times. I want to run the query once but spool all the jobs into chunks of different files
so for 300 million records, I want to split the records into 10 different files of 30 million records each. Is it possible to do so??
Thanks