Is it possible to use a MERGE within the body of a FORALL statement? I'm trying to optimize a few things and replace some cursors with BULK COLLECT's. I need to maintain the merge statement due to the continual updates to the data.
The error returned is:
PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
Code:
FORALL indx in rptid.FIRST.. rptid.LAST
MERGE INTO ....
The error returned is:
PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL