HomeOracleOracle Error ORA-06513: PL/SQL: index for PL/SQL table out of range for host language array

Oracle Error ORA-06513: PL/SQL: index for PL/SQL table out of range for host language array

Oracle Error Message

ORA-06513: PL/SQL: index for PL/SQL table out of range for host language array

Reason for the Error

An attempt is being made to copy a PL/SQL table to a host language array. But an index in the table is either less than one or greater than the maximum size of the host language array. When copying PL/SQL tables to host language arrays, the table entry at index 1 is placed in the first element of the array, the entry at index 2 is placed in the second element of the array, etc. If an table entry has not been assigned then the corresponding element in the host language array is set to null.

Solution

Increase size of host language array, or decrease size of PL/SQL table. Also make sure that you don’t use index values less than 1.

Share:

Leave a Reply

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...