|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
create or replace procedure test1( i_miseCode in varchar2, o_totalCount out number) is begino_totalcount:=0; SELECT count(*)into(o_totalCount) FROM GCM_SHOHIN WHERE MISE_CD IN(i_miseCode) ; end test1;输入参数i_miseCode='1001','1002'等多个条件,现在只有输入1个条件时正确,并且不能带引号,如果输入2个以上的时候就会出错怎么回事? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|