My Oracle Support Banner

ORA-01722: Invalid Number on for a Query using TO_NUMBER and distinct (Doc ID 1961959.1)

Last updated on AUGUST 14, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Information in this document applies to any platform.


Select distinct to_number(jahr,'9999') from fk_kolp_konten order by to_number(jahr,'9999');

reported "ORA-01722: invalid number"


 upgrade from to


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.