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: and later   [Release: 10.2 and later ]
Information in this document applies to any platform.


ORA-1426 error generated from OCI function OCIDescribeAny:

Current Behavior: 

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

- 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.


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


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