ORA-01002: Fetch out of Sequence caused by for loop and update statement I had a procedure which currently look like this in Oracle Database 19C