Database Error Messages

ORA-06513

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

Cause

An attempt was made to copy a PL/SQL table to a host language array. However, the index in the table was 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, and so on. If a table entry has not been assigned, then the corresponding element in the host language array is set to null.


Action

Increase the size of host language array, or decrease the size of the PL/SQL table. Ensure that you do not use index values less than 1.