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;
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;