Oracle Error PLS-00430: FORALL iteration variable string is not allowed in this context

Oracle Error Message

PLS-00430: FORALL iteration variable string is not allowed in this context

Reason for the Error

FORALL iteration variable can only be used as a subscript. It cannot be used directly or as a part of an expression.

Solution

Use FORALL variable only as a collection subscript.