I am using a sql * loader based concurrent program to upload .csv to Oracle database table.
My table is:
CREATE TABLE Production_Plan
(
PROCESS VARCHAR2(4000 BYTE),
SKU VARCHAR2(4000 BYTE),
MACHINE VARCHAR2(4000 BYTE),
PRODUCTION NUMBER
)
And a sample row from .csv table is:
After the concurrent program run, it gives warning and log file shows:
Record 1: Rejected - Error on table Production_Plan, column PRODUCTION. ORA-01722: invalid number
But, if I import the same data as an excel file by TOAD it doesn't raise any error
Control file; for simplicity, I put sample data in there. Note
to_number
function applied to theproduction
column.Loading session and the result: