EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB45918: “inconsistent datatypes: expected – got CLOB” error occurs in when running a report in MicroStrategy 9 against Oracle 11gR2


Community Admin

• Strategy


This article describes an issue where an inconsistent datatype error can be received when using an Oracle 11gR2 database containing CLOB data.

SYMPTOM:
In Strategy 9 against Oracle 11gR2, running a report containing an attribute using CLOB data will result in the below error:

ka04W000001MKlkQAG_0EM440000002CGb.png

 


ORA-00932: inconsistent datatypes: expected - got CLOB 

The CLOB data type is mapped to LongVarChar in Oracle. Same report runs successfully against some other databases.
 
CAUSE:
This is often caused by the database not support certain functionality on CLOB columns. In this case Oracle does not support doing a select distinct or a group by in a pass of SQL if it contains a CLOB column. This is a database limitation.
  
ACTION:
Upgrade to Strategy 10. Improvements have been made to the SQL engine to prevent columns of these datatypes from being used in passes with group bys/distincts when possible.


Comment

0 comments

Details

Knowledge Article

Published:

April 7, 2017

Last Updated:

April 7, 2017