简体   繁体   English

如何从2个表(父表和子表)中导入数据?-informatica

[英]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.

相关问题 在Informatica中以序列生成的数字作为主键的表的更新策略 - Update strategy for table with sequence generated number as primary key in Informatica 如何从 sql 查询创建 informatica 映射 - How to create informatica mapping from sql query informatica-任何人都可以解释如何在输入数据上执行映射和转换 - informatica - Can anyone please explain on how mapping and transformation execute on input data Informatica 如何使用 REST API 获取数据,WEB servis 使用 authorization.bearer 令牌 - Informatica how to use REST API to GET data , WEB servis uses authorization.bearer token 通过添加当前列将数据从平面文件加载到数据库表 - Loading data from flat file to database table with adding current columns 从Informatica的SQL Transformation获取多输出 - Fetch multi output from SQL Transformation at Informatica 如何将data.table转换为按ID更改的列的列表 - How to transform a data.table into a list of columns that change per ID 对 R 中的多列使用 data.table 中的 melt() 函数 - Using melt() function from data.table for multiple columns in R 从 sql 查询创建 Informatica 映射 - Informatica mapping creation from sql query 如何在Informatica中为特定组实施累积总和 - How to implement cumulative sum for specific group in informatica
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM