存储过程写法如下:
create or replace procedure Pr_d2_delCar(
       d2_cpkid in d2_car.cpkid%type       
)
as
begin
  delete from D2_HC t where fkpkid in (d2_cpkid) and hctype='2';  delete from D2_KYRETURNCONTENT t where kypkid in (select kypkid from D2_KY t where fkpkid in (d2_cpkid) and kytype='2');  delete from D2_MONITOR t where ppkid in (d2_cpkid) and zt='2';  delete from D2_PASSCAREXT t where cpkid in (d2_cpkid);  delete from D2_KY t where fkpkid in (d2_cpkid) and kytype='2';  delete from D2_CAR t where cpkid in (d2_cpkid);
end;
调用如下:
DECLARE
  num1 number := 181,182;
BEGIN
  Pr_d2_delCar(num1);
  
END;
如果181,182.只传入一个参数,是没问题的,现在我想请问高手,怎么把181,182作为一个参数传进去