Is self join possible in lookup Transformation? If yes how do we get managers for all the employees using Lookup transformation

时间:2015-06-26 09:27:51

标签: database informatica

Is self join possible in lookup Transformation, If yes how do we get managers for all the employees using Lookup transformation?

2 个答案:

答案 0 :(得分:0)

是的,使用SQL覆盖的Lookup转换中可以进行各种连接。编写SQL以返回Employee和Manager ID。然后,您可以将employee id放在条件选项卡中,并使用Manager ID作为输出或返回端口。

答案 1 :(得分:0)

默认情况下,如果将lookup选择为被动,则查找转换将作为左外连接,其中一个匹配行作为输出。从Informatica 9.X开始,它可以返回多个匹配记录,因此可以实现左外连接的完整功能。

此外,如果要执行普通连接,则必须丢弃在查找表/文件中找不到匹配记录的行。

查找转换无法实现完全外连接/右外连接。