Spooling data with Header and trailer
655270Apr 19 2009 — edited Apr 19 2009Hi everyone,
I have a problem in spooling the data.
I get a .dat file to load into db .That .dat file will be having header,records,trailer.While loading into the db i load only the records .
I load the .dat file into table using sqlldr with direct= true and parallel=true.
I load data into one table.header and trailer into one table(Loading into two different tables using three control file each for header,records,trailer to load from same .dat file).But while spooling the data out after some modifications to the table.i need to spool it with the header and trailer.I am able to spool only the records but not header and trailer.
That header and trailer are in standard form,everytime i get the .dat file.
Help me how to spool data from a table with the HEADER & TRAILER in the spool file.
Thanks