oracle存储过程定义

1.存储过程简单定义。

create or replace procedure pf_upPlace(

cd varchar2,
spbh varchar2
) as
spcd varchar(100);
bh varchar(200);
begin
  spcd := cd;
  bh := spbh;
  update goodsdoc set place = spcd where goodscode=bh;
  commit;
end;

你可能感兴趣的:(oracle)