【发布时间】:2013-04-29 09:23:20
【问题描述】:
从命令的第 1 行开始出错:
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吗?
标签: for-loop oracle11g ora-06550 pls-00103