Ora-00904 Executing Query With Order By Columns Using Alias After Upgrade From 10.1.0.3 To 10.1.0.4 (Doc ID 331905.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.4 to 10.1.0.4 - Release: 10.1 to 10.1
Information in this document applies to any platform.

Symptoms

After customer applied 10.1.0.4 patchset, he started to get the error

    ORA-00904: "COL5": invalid identifier

when execute queries with order by columns using alias

This happens if the following is TRUE:

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