一、通过pls块来调用存储过程;
declare
p_dzno varchar2(50);
p_vchtype VARCHAR2(50);
p_productclass VARCHAR2(50);
p_dptcode VARCHAR2(50);
begin
p_vchtype:=‘MP‘;
p_productclass:=‘03‘;
p_dptcode:=‘206‘;
PRODDATA.product_dz_proc.pd_getdzno(p_dzno,p_vchtype,p_productclass,p_dptcode);
DBMS_OUTPUT.put_line(p_dzno);
end;
时间: 2024-10-07 16:52:41