简体   繁体   English

informatica 中使用普通连接器的记录数

[英]Number of records using normal joiner in informatica

I have a master table with one record:我有一个包含一条记录的主表:

employee Id
-----------
10 

and detail table with 4 records:和 4 条记录的明细表:

employee Id1 
-----------
10
20
10
10

My join condition is employee Id = employee Id1 with normal join type.我的加入条件是employee Id = employee Id1具有正常加入类型。

My question is which of the following output table will I get?我的问题是我会得到以下哪个输出表?

  1. Output employee Id table with only 1 record (10)?输出只有 1 条记录 (10) 的员工 ID 表?

Or或者

  1. Output employee Id table with 3 records (10, 10, 10)?输出有 3 条记录(10、10、10)的员工 ID 表?

For Normal join type, output is 3 rows对于普通连接类型,输出为 3 行

NORMAL JOIN -It will give matching rows from both tables NORMAL JOIN - 它将从两个表中给出匹配的行

MASTER OUTER JOIN - It will give matching rows from MASTER table and all rows from DETAIL table ,rest of the rows are discarded. MASTER OUTER JOIN - 它将提供 MASTER 表中的匹配行和 DETAIL 表中的所有行,其余行将被丢弃。

DETAIL OUTER JOIN - (just opposite above) It will give matching rows from DETAIL table and all rows from MASTER Table.,rest of the rows are discarded. DETAIL OUTER JOIN -(正上方)它将给出来自 DETAIL 表的匹配行和来自 MASTER 表的所有行,其余的行将被丢弃。

Source with with fewer rows and with fewer duplicate keys should be consider as the master and the other source as detail.具有较少行和较少重复键的源应视为主,而另一个源应视为详细信息。

输出显然应该是3条记录。

您的输出将包含满足给定条件的 3 条记录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM