Loading Problem [message #138156] |
Tue, 20 September 2005 08:45 |
tvssbjagdish
Messages: 32 Registered: March 2005 Location: Hyderabad
|
Member |
|
|
Hi All,
I am using sql*loader to pump the data into database table. My table is having self referential integrity constraint,say mgrid is the foreign key of empid. I used to take the data in a pipe delimited format.
select empno||'|'||ename||'|'||mgr from emp where empno=mgr;
then i paste that in .in file
after that
select empno||'|'||ename||'|'||mgr from emp where empno!=mgr;
the above output i append to the .in file.
The data gets loaded into db successfully. But the problem is with recursive dependencies. If i use the above 2 queries , obviously the problem will not get solved.
How to pump such data into database by using sql*loader.
Plz help me out.
Jagdish
|
|
|
|
|
|
|
|
|