Oracle Error PLS-00437: FORALL bulk index cannot be used in string clause

Oracle Error Message

PLS-00437: FORALL bulk index cannot be used in string clause

Reason for the Error

RETURNING table(bulk_index) is not supported.

Solution

Use RETURNING BULK COLLECT instead