CREATE OR REPLACE PROCEDURE proc_test
as
i number;
BEGIN
i:=0;
while i < 10 LOOP
begin
i:= i + 1;
--insert into student () values ();
Dbms_output.Put_line(‘插入第‘||i||‘条数据‘);
end;
end LOOP;
END proc_test;
原文地址:http://7883830.blog.51cto.com/7873830/1793504