An Olap Query Returns A Wrong Result (Doc ID 1074072.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle OLAP - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 12-Jun-2012.

Symptoms

When using OLAP_TABLE to retrieve a multiline string, then the last character of that string is incorrectly truncated.

For example:

SQL> select * from table(olap_table('', '', '', 'measure "1" from aw_expr
joinlines(''a'' ''bc'')'));

1
---------------
a
b


On contrary, the correct one should be something as:

1
---------------
a
bc

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