I really dont see where is the problem. I hope you can help.
Here is data file :
01/04/2013$1.300
01/10/2015$0.100
01/12/2016$0.500
This file has to be loaded in TableA :
- 2 columns : thedate
(type DATE)and therate(type NUMBER(5,3))
Here is the ctl file :
LOAD DATA
REPLACE
INTO TABLE TABLEA
FIELDS TERMINATED BY '$'
TRAILING NULLCOLS
(THEDATE,
THERATE "to_number(:THERATE, '99999D999', 'NLS_NUMERIC_CHARACTERS=''.,''')")
Loading, I have this error in the log on all records :
Column Name Position Len Term Encl Datatype
THEDATE FIRST * $ CHARACTER
THERATE NEXT * $ CHARACTER
SQL string for column : "to_number(:THERATE, '99999D999', 'NLS_NUMERIC_CHARACTERS=''.,''')"
Record 1: Rejected - Error on table TABLEA, column THERATE. ORA-01438: value larger than specified precision allowed for this column