oracle存储过程的时候参数是1✀,✀2✀,✀3 我怎么能把他当成where条件

2025-03-23 04:13:38
推荐回答(3个)
回答1:

如果对效率要求不高,可以考虑将fxflid当做字符串来处理,与输入参数匹配。
如:
where instr(''''||ls_fxflid||'''',''''||fxflid ||'''') >0

回答2:

动态SQL语句:

'select * .... where fxflid in ('''||Is_fxflid||''')'

?

回答3:

楼主可否把自己的游标贴出来