【发布时间】:2020-08-25 18:40:06
【问题描述】:
我需要在 informatica 的 SQL 转换中使用参数化值插入一个表。
例如:
表 A:
col1,col2,col3,col4
参数:col1 = 123,col2="STG",col3="ncpdp",col4= (select count(*) from ncpdp)
插入语句:Insert into A (col1,col2,col3,col4) values (?col1?,?col2?,?col3?,?col4?(means result of the col4 query) );
我需要在 informatica 中使用 SQL 转换运行此插入语句。
会有用吗?
我尝试使用虚拟源进行基本转换,在 SQL 转换中将此查询作为查询模式传递,但它没有从 informatica 代码正确执行,我没有收到任何错误。请让我有什么我错过的。
【问题讨论】: