My Oracle Support Banner

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

Last updated on AUGUST 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
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

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
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.