PLW-05024: Do not use BULK COLLECT clause in a cursor declaration Cause: A BULK COLLECT clause was specified in a cursor declaration. Action: Remove the BULK COLLECT clause from the cursor declaration, moving it to the FETCH statement or statements, if appropriate.