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 MARCH 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
- 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 126.96.36.199 and 188.8.131.52
- SQL runs in 18c with optimizer_features_enable set to 184.108.40.206 or less
Following Bug Fixes present in 18c causing the issue:
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
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