17,086
社区成员
发帖
与我相关
我的任务
分享
create or replace procedure pd_emp_copy(as_id in number) is
row int:=0;
begin
select count(1) into row from emp_bf where id=as_id;
if row=0 then
insert into emp_bf(id,zp) select id,zp from emp;
commit;
end if;
end;