I am using SQL*LOADER to append data to a table with a primary index. I am attempting to perform a direct path route with the SINGLEROW option so that it doesn't load a data file twice, but it's still loading all the records. Am I using the parameter incorrectly or misunderstanding how it works? Here is the Control file:
I know that setting DIRECT to "FALSE" will prevent a load file from being appended to the table a second time, but I don't want the interminable "Commit point reached" messages (using the SILENT=FEEDBACK suppresses too much and tinkering with ROW values is tedious).
Code:
--control file for remitter
OPTIONS(DIRECT=TRUE,ERRORS=5)
LOAD DATA
INFILE "/u003/users/ardr/ARDRS01AA.dat"
APPEND INTO TABLE arch_remitter SINGLEROW (
REC_DATE CHAR(6),
REC_NUM CHAR(6),
REC_TREAS_NUM CHAR(6),
REC_REM_NAME CHAR(40),
REC_CC_LOC CHAR(1),
REC_CHECK_AMT CHAR(9),
REC_BILL_TYPE CHAR(1),
REC_INV_NUM CHAR(9),
REC_PAYMENT_TYPE CHAR(1),
REC_STATUS CHAR(1),
REC_BAL_FLAG CHAR(1))