[英]how to import data from 2 table(parent and child table)?-informatica
I tried the SQ and linked directly from source to SQ only the required columns and generated workflow but it shows no result. 我尝试了SQ,仅将所需列和生成的工作流从源直接链接到SQ,但未显示任何结果。 Do I have to use any other transformation or do I have to add query in SQ if so how? 如果需要,我是否必须使用任何其他转换还是必须在SQ中添加查询? help me thanks in advance. 提前帮助我。
Try this, Parent Table To Source Qualifier(Parent) & Child Table To Source Qualifier(Child) 试试这个,父表到源限定符(父)和子表到源限定符(子)
Next, Join both Source qualifiers based on a join condition using Join Transform (or) If you want to Union both data sets then use Union transoform 接下来,使用Join Transform根据联接条件联接两个Source限定词(或)如果要对两个数据集进行联合,则使用Union transoform
Next, Use expression transform for cleaning,filtering data or to apply any logic 接下来,使用表达式转换来清理,过滤数据或应用任何逻辑
Last, Map the expression transform to load the Target table 最后,映射表达式转换以加载目标表
I have found the solution no need to use join transformation since they are in parent child relationship. 我发现解决方案无需使用联接转换,因为它们处于父子关系中。 with my previous workflow it didn't show any error, executed fine but the issue is it didn't read any data from source tables hence no rows are inserted into target table 在我以前的工作流程中,它没有显示任何错误,执行得很好,但是问题是它没有从源表中读取任何数据,因此没有行插入目标表中
all I did is ,I jus specified the join condition in SQ itself now its working fine. 我所做的只是,我现在在SQ本身中指定了加入条件,它的工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.