Informatica Power Center,增量负载
有一个要求,我有5行包含一个主密钥作为ID,每当我有更改/获得新记录时,我都需要插入,并且只有在现有记录中获得新值时才需要更新。
我 尝试使用IIF(ISNULL(ID),I,U)尝试了一种方法 它正在插入新记录,但是问题就像它正在更新所有现有记录,即使没有任何值的变化。但是我只想在列发生更改时要更新。.
你们能否给您提供UR解决方案以更新仅当我在列上更改时行。否则,行不得去插入/更新。
因此,我需要插入新的行/主键更改时,我只需要在列发生更改时才需要更新。如果无法满足上述两个条件,则记录不应转到任何一个目标。
谢谢
I have a requirement ,that I have 5 rows which contains primary key as ID,i need to do insert whenever I got change in primary/got new records,and i need to update only when I got new values in existing records..
I tried an approach by using IIF(ISNULL(ID),I,U)
it is inserting the new records,but the problem is like it is updating all the existing records even without any change in values..but I want to update only when the change in columns happens..
Could you guys please give ur solutions to update rows only when I got change in columns..otherwise the rows should not go to insert/update..
So,i need to insert when new row/primary key changes and i need to update only when change in columns happens. If both the above conditions are not met the records should not go to either of the targets.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论