Skip to Main Content

DevOps, CI/CD and Automation

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!

Spooling data with Header and trailer

655270Apr 19 2009 — edited Apr 19 2009
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2009
Added on Apr 19 2009
1 comment
2,301 views