select * from table1 where dist_id in (:dist_id)
:dist_id可能是 '571' ,也可能是 ('571','572'),或者更多,就是希望实现下面的效果:
select * from table1 where dist_id in ('571') 或者
select * from table1 where dist_id in ('571', '572')
我把最上面的sql写在TQueery的SQL里,在Pararm里添加一个参数,请问,我该怎么样实现通过参数实现传递 '571','572'这两个内容,当然我只用了一个参数dist_id,在TOAD里是可以实现的,类型把它设为Substitution即可实现,但是在DELPHI里找不到这个类型。请高手帮忙