function To_number Returns Ora-01722
(Doc ID 1676065.1)
Last updated on FEBRUARY 03, 2022
Applies to:
Oracle Database - Standard Edition - Version 10.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
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! |
In this Document
Goal |
Solution |