My Oracle Support Banner

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

Last updated on MARCH 01, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A 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.