Oracle Error ORA-39799: The column index number is out of range (max: number).

Oracle Error Message

ORA-39799: The column index number is out of range (max: number).

Reason for the Error

The specified column index was too large for the column array.

Solution

Ensure the column index is in range.