Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL*Loader error ORA-01821 on 12.1.0.1.0 but not 12.2.0.1.0

SeedymanJan 31 2019 — edited Feb 4 2019

I have the same ldr file on two different windows computers, one running 12.1 one running 12.2 or Oracle DB (standard)
One loads fine, one gets a 1821 error, doesn't even try to load rows.

I've tried to find where there is an error reported, but no luck so far. Can't update the 12.1 database. (stupid vendor "compatibility" requirements)

ldr file looks like:

Options (Skip=1)

UNRECOVERABLE

LOAD DATA

INFILE file.txt

APPEND

INTO TABLE "tablename"

FIELDS TERMINATED BY ','

OPTIONALLY ENCLOSED BY '"'

TRAILING NULLCOLS (

file_type FILLER,

IDnumber ,

another_ID ,

SDATE TIMESTAMP "YYYYMMDDHH24MISS",

EDATE ,

COMMENTS ,

ENTERED_BY ,

ENTRY_DATETIME TIMESTAMP "YYYYMMDDHH24MISS",

a_SEQNO SEQUENCE(100,1),

SYSDT "sysdate")

Thanks for any help

Comments
Post Details
Added on Jan 31 2019
8 comments
573 views