My Oracle Support Banner

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

Last updated on SEPTEMBER 19, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
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


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.

ORA-01722: invalid number


The ASCII data file looks like the following:



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.