"CONNECT BY" Query selecting a MDSYS.SDO_GEOMETRY Column fails with ORA-22813 (Doc ID 1385852.1)

Last updated on OCTOBER 03, 2013

Applies to:

Oracle Spatial and Graph - Version 11.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Oct-2013***

Symptoms

CONNECT BY query with selecting a MDSYS.SDO_GEOMETRY column that works in 10.2.0.4 is getting "ORA-22813: operand value exceeds system limits" in 11.2.0.2

SELECT a.sdogeometry
FROM mytable a
WHERE
a.sheet_number = '001' AND
a.geometry_type = 'LASF'
START WITH a.head_link IS NULL
CONNECT BY NOCYCLE PRIOR a.link_id = a.head_link
/
*
FROM mytable a
*
ERROR at line 2:
ORA-22813: operand value exceeds system limits

Changes

Database was upgraded from 10gR2 to 11gR2.

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