My Oracle Support Banner

ORA-01722 Occurs When Executing A Select Containing TO_NUMBER ON A Varchar Column (Doc ID 1989604.1)

Last updated on AUGUST 30, 2023

Applies to:

JDBC - Version 11.2.0.1.0 and later
Information in this document applies to any platform.

Symptoms

A JDBC application is not able to execute a query containing TO_NUMBER on a varchar column, and fails with error:

ORA-01722: invalid number 

The error only occurs in certain servers, while on others the same select statement succeeds.

 

Changes

 Recent deployment of the application to new servers.

Cause

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
Symptoms
Changes
Cause
Solution
References


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