读书人

store procedure 中 in 加怎

发布时间: 2012-06-05 13:54:06 作者: rapoo

store procedure 中 in 加,怎?
各位先:
程式入一:A1
A1 = "'1','2','3','4'"

然後在store procedure
select a,b,c
from ta
where c in (A1);

的法?找不到料,如果他改成
select a,b,c
from ta
where c in ('1','2','3','4');
就找得到料
有知到原因?

[解决办法]

探讨

forgetsam,
那有有比不蠢的方法,
c='1' or c= '2' or c='3' or c='4',都能足件啊!

读书人网 >oracle

热点推荐