My Oracle Support Banner

function To_number Returns Ora-01722 (Doc ID 1676065.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Standard Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 7-Jan-2016***

Goal

Applying to_number to a field containing numbers stored as characters, it returns ora-01722

Example:


select to_number('70,59') from dual on the server it returns ora-01722.
When running select to_number('70.59') from dual on the server the query runs ok


When running select to_number('70.59') from dual on the client it returns ora-01722.
But when i run select to_number('70,59') from dual on the client the query runs ok



Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.