SQL Loader Error
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: SQL Loader Error

  1. #1
    Join Date
    Dec 1999
    Posts
    217

    SQL Loader Error

    I am getting the following error when using the SQL loader:

    SQL*Loader-926: OCI error while executing delete/truncate (due to REPLACE/TRUNCATE keyword) for table "SCOTT"."SOURCE"
    ORA-02292: integrity constraint (SCOTT.FK_ORD_SOURCE) violated - child record found.

    In the control file I am loading data with the REPLACE option.

    Please explain.

    Chintz

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Sql*loader can not delete your existing records before loading new ones because you have existing records in child-related table. Either disable that constraint FK_ORD_SOURCE or remove all rows from that child table.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width