(1)
create table fl_20150126 as select * from fl;
create table flmx_20150126 as select * from flmx;
(2)
update flmx set pzid = null where yy = ‘2015‘;
(3)
declare
i integer;
zdr integer;
oi_errcode integer;
oc_errtext varchar2(200);
begin
zdr := 1041;
for cur in (select distinct pcxh as pcxh from flmx where yy = 2015) loop
pkg_fmis_pzsc_process.p_cl_pzsc(zdr,cur.pcxh,oi_errcode,oc_errtext);
if oi_errcode < 0 then
return;
end if;
end loop;
end;
时间: 2024-10-30 14:13:40