My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.