SSIS 连接Oracle 参数化查询问题
已经百度过,的确搞不定才来问的。
1.想要在连接Oracle的时候,实现参数化查询,但是一直不成功。求正确的书写方式?
select * from comm.sex_dict where serial_no = ?
select * from comm.sex_dict where serial_no = :pid
select * from comm.sex_dict where serial_no = @pid
以上貌似,都不行。 求解? 谢谢大家
如小图:


------解决思路----------------------
数据访问模式-->变量中的SQL命令
------解决思路----------------------
其实也可以自己用一个Script Task 编辑sqlstr变量。