OCIDESCRIBEANY Fails When Schema Object Count Exceeds 65535 (64K -1) (Doc ID 1375150.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.5 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

ORA-1426 error generated from OCI function OCIDescribeAny:

Current Behavior: 

- If the object count is less than 65535 (64K -1) then OCI returns SUCCESS:  
OCIDescribeAny. 

- If the object count is more than 65535 (64K -1) then OCI returns "ORA-00604: error occurred at recursive SQL level 1  and  ORA-01426: numeric overflow". 

What is expected? 

To allow OCIDESCRIBEANY get object count with object count more than 65535.




Changes

Use of OCIDescribeAny to get object count exceeding more than 65535 objects.

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