更新日期:2024年09月11日
DECLARE
done BOOLEAN;
BEGIN
FOR i IN 1..50 LOOP
IF done THEN
GOTO end_loop;
END IF;
<
END LOOP;
END;
--Result:
--END LOOP;
--*
--ERROR at line 9:
--ORA-06550: line 9, column 3:
--PLS-00103: Encountered the symbol "END" when expecting one of the following:
--( begin case declare exit for goto if loop mod null raise
--return select update while with
-- <<
--continue close current delete fetch lock insert open rollback
--savepoint set sql run commit forall merge pipe purge