ORA-06550: line 13, column 4: PLS-00103: Encountered the “UPDATE” ORA-06550: line 15, column 3: PLS-00103: Encountered the symbol “END”

EXIT WHEN FLAG=1/*give some exit criteria here .You wrote update statement which was incorrect*/; 
--update table set counter=1 where counter is NULL;
-- LOOP until condition is met 
END LOOP;

Leave a Comment