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 220.127.116.11.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 18.104.22.168 and 22.214.171.124
- SQL runs in 18c with optimizer_features_enable set to 126.96.36.199 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