Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORALL & MERGE

Status
Not open for further replies.

pflakes

Technical User
Jan 27, 2004
31
US
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.
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top