ORA-00932: inconsistent datatypes: expected - got CLOB (Doc ID 1460131.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.


Symptoms

Running a SQL statement that references CLOB columns and invlolves a "UNION" clause issues this error

ORA-00932: inconsistent datatypes: expected - got CLOB


The error can be reproduced with a scenario as simple as follows:

 

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