Re: SQL Loader problem

From: Ron Reidy <rereidy_at_indra.com>
Date: Mon, 24 Dec 2001 14:10:33 -0700
Message-ID: <3C2799C9.210332AA_at_indra.com>


Joe Moore wrote:
>
> I have been trying to load data from text files into my oracle database.
> I created the data files on Windows 2000 and transferred them to my Linux
> box. The data file are in text format using comma's for the column
> delimeters.
> When I run the sqlldr command I get this error message for each row:
> Record 1: Rejected - Error on table EMP, column DEPTNO,
> ORA-01722: invalid number
> Record 2: Rejected - Error on table EMP, column DEPTNO,
> ORA-01722: invalid number
> Record 3: Rejected - Error on table EMP, column DEPTNO,
> ORA-01722: invalid number
> ...
> Any ideas why this is happening?
>
> Thanks
From the error docs...

ORA-01722 invalid number

      Cause: The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates.

      Action: Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation.

In your case, I would venture to guess you have a control file issue.

-- 
Ron Reidy
Oracle DBA
Received on Mon Dec 24 2001 - 22:10:33 CET

Original text of this message