我在pb中写sql,select * from A where A.name not in (sname)
其中sname我定义的是一个数组,string sname[] = {'xx','bb'}
为什么这样检索不出数据,我直接用select * from A where A.name not in ('xx','bb')是能检索出数据的
是不能这么写嘛?
------解决方案--------------------
你是直接寫SQL還是在DW中使用?數組作為DW的參數是可以的
------解决方案--------------------