On 18c, Query WITH Clause Errors with 'ORA-56904: Pivot Value Must Have Datatype That Is Convertible To Pivot Column'
(Doc ID 2480300.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 18.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
- Query on 18c database upgrade errors with ORA-56904:
ORA-56904: pivot value must have datatype that is convertible to pivot column - SQL statement works in database 11.2.0.3 and 11.2.0.4
- SQL runs in 18c with optimizer_features_enable set to 11.2.0.4 or less
Changes
Following Bug Fixes present in 18c causing the issue:
<Bug 8528517> - GROUP-BY ON SUBQUERY COLUMN INCONSISTENT BEHAVIOR RE ORA-00979
<Bug 9477688> - MPGE: SR11.2CBY_ENH - ERR - ORA-979 FOR SQLID ... IN TDIA
<Bug 13836796> - COST-BASED TRANSFORMATION DISABLED IF QUERY HAS MATERIALIZED WITH CLAUSE
<Bug 9477688> - MPGE: SR11.2CBY_ENH - ERR - ORA-979 FOR SQLID ... IN TDIA
<Bug 13836796> - COST-BASED TRANSFORMATION DISABLED IF QUERY HAS MATERIALIZED WITH CLAUSE
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |