SQL LOADER: format of an error returned by a command line [message #502274] |
Tue, 05 April 2011 09:24  |
 |
Benjamin_Paris
Messages: 21 Registered: March 2011 Location: Paris
|
Junior Member |
|
|
Hi everyone,
I'm working with sqlldr and i try to insert data from a csv file thanks to a CTL file.
One field of my table contains 5 characters but one row has 6 characters in this field, so it's rejected by oracle. (Logicial, you can't insert 6 chars in a 5 chars field)
an error is visibly returned, so i wondered how you could catch the value of this error?
is it a code? a message?
I'd like to add to my script a condition so that the end of the script would continue even if this error code is returned for that CTL execution....
I don't know if i'm clear.
Please do not hesitate to ask for more details.
Thanks a lot
|
|
|
|
|
|
Re: SQL LOADER: format of an error returned by a command line [message #502288 is a reply to message #502286] |
Tue, 05 April 2011 10:08   |
 |
Benjamin_Paris
Messages: 21 Registered: March 2011 Location: Paris
|
Junior Member |
|
|
Thanks for your wonderful help and for your warm kindness.
Actually the only error message i can get for now is in the error file, but the problem is that the message is really specific to the field causing the problem. so i can't really use that since i can't write one condition dor each of my 70 field...
i'm launching a ksh script and can't really see a specific error message aside the one in the error fields.
Thanks anyway
[Updated on: Tue, 05 April 2011 10:08] Report message to a moderator
|
|
|
|
|
|
|
|
|
|