要想在in中用变量,需要用动态闭神银SQL,请看下轿宴例子瞎羡,我在oracle 10g中测试通过:declarev_1 varchar2(100);v_2 varchar2(200);beginv_1:='(''1'',''2'',''3'')';v_2:='insert into testa2 select * from testa1 where fch in'|| v_1;execute immediate v_2;commit;end;