Error in SQL* Loader pgm [message #399250] |
Tue, 21 April 2009 05:16 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Nshan
Messages: 62 Registered: February 2009
|
Member |
|
|
Hi,
I have got an error as
--Record 9: Rejected - Error on table "DDD"."DAC_TRANS_ACTIVITIES_DUMP", column ACTIVITY_ID.
ORA-01722: invalid number
I have gone through the forum but i couldnt find solution for my pblm as per the input data...
My ctrl file is
OPTIONS (skip=1)
LOAD DATA
APPEND
into table DAC_TRANS_ACTIVITIES_DUMP
FIELDS TERMINATED BY "|" OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
ACTIVITY_ID INTEGER EXTERNAL ,
ACTIVITY_SOURCE CHAR ,
TRANSACTION_ID INTEGER EXTERNAL ,
ACTIVITY_DATE CHAR ,
LOGGED_BY CHAR
)
My 9th record data are from data file --
"1825062"|"UserGenerated"|"1265304"|"01/02/09"|"pl33318"|
In table the data type of ACTIVITY_ID is NUMBER...
Any one can clarify me??
Thanks in advance....
|
|
|
Re: Error in SQL* Loader pgm [message #399251 is a reply to message #399250] |
Tue, 21 April 2009 05:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bonker
Messages: 402 Registered: July 2005
|
Senior Member |
|
|
Quote: | My 9th record data are from data file --
"1825062"|"UserGenerated"|"1265304"|"01/02/09"|"pl33318"|
|
Instead of checking in data file can you check record put in bad file by the SQL*Loader program?
|
|
|
|
|
Re: Error in SQL* Loader pgm [message #399387 is a reply to message #399337] |
Tue, 21 April 2009 23:23 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Nshan
Messages: 62 Registered: February 2009
|
Member |
|
|
This is the data present in my data file
"1825062"|"User Generated"|"1265304"|"01/02/09"|"pl33318"|
This is the data present in my bad file
"1825062"|"User Generated"|"1265304"|"01/02/09"|"pl33318"|
Error is saying pblm with 1st column ie.ACTIVITY_ID...
Record 11: Rejected - Error on table "DAC"."DAC_TRANS_ACTIVITIES_DUMP", column ACTIVITY_ID.
ORA-01722: invalid number
Not only one record...
Following records also giving error...
"1825080"|"User Generated"|"1261949"|"01/02/09"|"pl33318"|
"1825082"|"User Generated"|"1261949"|"01/02/09"|"pl33318"|
"1825083"|"User Generated"|"1258442"|"01/02/09"|"pl33318"|
"1825083"|"User Generated"|"1259867"|"01/02/09"|"pl33318"|
Kindly help me on this.......
|
|
|
|
|
|