CURRVAL, NEXTVAL NOT WORKING IN SQL*LOADER
(Doc ID 1031704.6)
Last updated on DECEMBER 14, 2023
Applies to:Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.
You are using Sql*Loader to load data into 2 tables simultaneously. The data consists of a header record followed by a detail record in a single data file. For example:
As you can see, the header records loaded with the correct ID, but the detail records all received the same ID.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!