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');
就找得到料
有知到原因?
[解决办法]
发布时间: 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');
就找得到料
有知到原因?
[解决办法]