ORA-01722: Invalid Number on 11.2.0.4 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 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

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

reported "ORA-01722: invalid number"

Changes

 upgrade from 11.2.0.3 to 11.2.0.4

Cause

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