ORA-01722: Invalid Number on for a Query using TO_DATE and distinct

(Doc ID 1961959.1)

Last updated on DECEMBER 06, 2016

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


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 hundreds of Community platforms