External Table Loading Errors with ORA-01722: invalid number (Doc ID 1351784.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.8 to 11.2.0.2 - Release: 9.2 to 11.2
Information in this document applies to any platform.
This document describes the effect of using Windows platform to generate ASCII files which cannot be directly imported into Unix/Linux Platforms without removing MSDOS/Windows CR/LF

Symptoms


When attempting to load huge flat files via External tables into Oracle tables.
the following error occurs.

The load comes back with a series of errors and 0 rows inserted.

ERROR
-----------------------
ORA-01722: invalid number



Changes

The ASCII data file looks like the following:

3,1297055378,0,268442170,0,290,1307595599,0,268449006,TP50.RP.VO-V.FC1,268442170,1304917200,37,0,3603^M$
3,1301442382,0,268442181,100,1048576,1302738382,0,268436146,TUP.I.FP6_act,268442181,1301442382,43,15,0^M$

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms