pl/sql存储过程直接往临时表中插入数据
createorreplacepackagebodyeageisprocedurep1isbeginforc1in(selectenamefromemp)loopinse...
create or replace package body eage is
procedure p1 is
begin
for c1 in (select ename from emp) loop
insert into test values(c1.ename);
commit;
end loop;
end p1;
end;
临时表test中并没有相应的值显示是什么原因呢 展开
procedure p1 is
begin
for c1 in (select ename from emp) loop
insert into test values(c1.ename);
commit;
end loop;
end p1;
end;
临时表test中并没有相应的值显示是什么原因呢 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询