I'm trying to load customer's data into table with CLOB, using SQL Loader. Because of the data volumes, the customer prefers to provide two files: primary - with "main" table data and secondary, with CLOBs.
I'm looking for correct layout of the input files and correct load syntax. Should secondary file contain an ID and how exactly will SQL Loader match records in two files?
The situation we have is approximately this (assuming that CLOBs are delimited by string '< lobend >'):
table emp with columns emp_id, name and resume (CLOB). Resume is optional, and sometimes it'll be null.
primary file
123, Jane
567, Mary
896, Bob
secondary file
Resume of Jane<lobend>
<lobend>
Resume of Bob<lobend>