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

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
  Symptoms
  Changes
  Cause
  Solution
  References

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