Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SQL Loader and multiple tables
RDBMS: 7.3.4
I am using SQL*Loader to load two tables from a single file and want to do
the following:
The first record in the file is a header record - I will asign a SEQUENCE(MAX,1) value to a LOAD_ID field in table_a_header.
The remaining records will be loaded into table_a which also has a LOAD_ID field.
I want to use the LOAD_ID generated by the SEQUENCE for table_a_header for all the records that will be loaded into table_a.
I need to be able to have a relationship between the two tables, if anyone has any suggestions, I would appreciate it.
Thanks.
--
Michael A. Rothwell
Oracle DBA/Oracle Web Applications Developer
Views expressed here are not those of my company No - Actually - Since I am independent, They are the views of my company. Received on Thu Mar 25 1999 - 19:00:32 CST