0
錯誤在命令開始位於第1行:語法錯誤在for循環
DECLARE
x NUMBER := 0;
counter NUMBER := 0;
BEGIN
FOR i IN 1..4 LOOP
x := x + 1000;
counter := counter + 1;
INSERT INTO temp VALUES (x, counter, 'in OUTER loop');
END;
END LOOP;
COMMIT;
END;
錯誤報告:
ORA-06550: line 11, column 10: PLS-00103: Encountered the symbol ";" when expecting one of the following: loop 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a PL/SQL compilation error. *Action:
你有'END','END LOOP','END'嵌套corect? – 2013-04-29 09:25:53