informatica

Informatica - Concatenate all rows of 1 column to a single value

青春壹個敷衍的年華 提交于 2019-12-24 22:00:53
问题 I am looking to convert all values from 1 columns to one single value in Informatica. Col1 Row1 A Row2 B Row3 C Row4 D To Col 1 Row1 A,B,C,D I have the the input available from an expression. Thank you! 回答1: It should be possible to do it using a variable port in Expression transformation. E.g. in_Col1 v_Row1 := iif(isnull(v_Row1), in_Col1, v_Row1||','||in_Col1) o_Row1 := v_Row1 After the Expression transformation, use an Aggregator transformation to pass only the last row which will have the

SQL Server repository for informatica powercenter

对着背影说爱祢 提交于 2019-12-24 17:57:39
问题 I have a powercenter 9.1 installation on windows server 2008 R2. The repository is on the same box, hosted on sql server 2012. I have configured a new user (with sql server authentication) and have the repo db owned by that user. (it has the owner role) The core problem : I am not able to run a simple test workflow on this setup. Here's what I have been trying The windows firewall has been taken down now for about an hour or so. The repository service and integration service are running in

Pass date value from one session to another session in the same workflow

半世苍凉 提交于 2019-12-23 05:00:05
问题 I have two sessions i a workflow like below workflow1->session1->session2 i have a join_date column in a table in Mapping1 , in session1 i want to pick this join_date value and pass to mpping2/session2 If join date value changes in the table in session1 then the same value should pick and pass to session2 I will use this date value in a query in session2 . Please tell me how to achieve this? Thank you 回答1: You can do this using mapping and workflow variables. In mapping1 create a mapping

informatica同构与异构

随声附和 提交于 2019-12-23 04:09:18
目录 1.同构需求 1.1 将emp表和dept表进行内连接 1.2 将emp表和dept表进行右连接 2.异构需求 2.1 使用oracle的emp表和mysql的dept表进行连接 3.同构与异构总结 1.同构需求 1.1 将emp表和dept表进行内连接 要实现的结果: 1.导入源表:emp表和dept表。 2.定义目标表:将emp表重命名,加入2个dept的字段,生成sql语句,在edw用户下创建表。 3.创建映射: 删除原本连着各自源表的源限定符,新建一个源限定符同时选择两张源表。 设置属性为两张表的deptno相等。 在端口我们只保留emp的deptno字段,删除dept的deptno字段,保存映射。 4.创建任务和工作流,保存,执行,查看结果。 1.2 将emp表和dept表进行右连接 要实现的效果: 我们可以在映射中的源限定符的属性中定义sql语句。 端口的字段顺序要和定义的sql语句的查询字段的顺序一致。 保存映射,重新执行工作流。 但是最终只返回14条数据,我们希望的是右连接返回所有20条数据,查看错误说无法将null写入到empno字段。 原因是我们的源表emp和dept设置了empno为主键,所以需要先删除主键标志。 目标表查看deptno在非空上也打勾了,需要去掉这个勾,然后重新执行sql语句,在edw用户下重新创建表格。 重新刷新映射

Informatica writes rejected rows into a bad file, how to avoid that?

自古美人都是妖i 提交于 2019-12-21 20:25:00
问题 I have developed an Informatica PowerDesigner 9.1 ETL Job which uses lookup and an update transform to detect if the target table has the the incoming rows from the source or not. I have set for the Update transform a condition IIF(ISNULL(target_table_surrogate_id), DD_INSERT, DD_REJECT) Now, when the incoming row is already in the target table, the row is rejected. Informatica writes these rejected rows into a .bad file. How to prevent this? Is there a way to determine that the rejected rows

informatica快速上手实例操作

為{幸葍}努か 提交于 2019-12-21 04:12:10
目录 1.目标 2.创建EDW用户 3.info的客户端介绍 4.打开R客户端,创建文件夹 5.打开D客户端,定义源表、目标表和创建映射 6.打开W客户端,创建任务和工作流 7.M客户端,工作流调度监控 1.目标 将scott用户下的emp表数据通过informatica抽取到EDW层中。 2.创建EDW用户 在Oracle数据库中创建EDW用户,并授权。 3.info的客户端介绍 R客户端:用于创建文件夹 D客户端:定义源表、目标表和创建映射 W客户端:创建任务和工作流 M客户端:工作流调度监控 4.打开R客户端,创建文件夹 如果出现以下问题,可以在服务中重启一下informatica,需要等待一下再连接。 注意: 如果电脑还没开启Oracle服务, 开启服务的顺序是先开启Oracle的服务,再开启informatica服务 。 创建文件夹 5.打开D客户端,定义源表、目标表和创建映射 常用的三个按钮,定义源表、目标表和创建映射。 1.导入源表,因为我们是从Oracle数据库导入,所以源数据库选择Oracle。 2.自定义数据源的名称,然后测试一下是否能连接Oracle数据库。 3.点击确定创建好后,看到ODBC数据源已经变成我们创建的名称,是Oracle数据库,登录源表所在的用户,重新连接就能看到下面出现EMP表,点击确定就能看到源表。 4.定义目标表。修改目标表名称。

Informatica: Prev column value display

荒凉一梦 提交于 2019-12-18 07:11:33
问题 The data in the source table is as follows: - Empno Ename sal 101 Allen 1000 102 Alex 2000 103 Tom 1500 104 Cb 2100 I want the output to be as follows :- Empno Ename sal 101 Allen 0 102 Alex 1000 103 tom 2000 104 Cb 1500 Can you please tell me by using which transformation i can acheive the result. Also plz let me know the logic. 回答1: Add an expression transformation with two variable ports: PORT EXPRESSION in_sal N/A v_previous_sal v_current_sal v_current_sal in_sal out_sal v_previous_sal

INFORMATICA - Date format conversion

随声附和 提交于 2019-12-13 11:07:56
问题 Hello guys i have a date format of 12/05/2015 i.e., dd/mm/yyyy . I need to convert this as 05/12/2015 i.e., mm/dd/yyyy . Can any one give me a solution . 回答1: Because function TO_DATE by default expects the date as a char value to be in the form 'MM/DD/YYYY', you need to specify you're handing it in as 'DD/MM/YYYY'. Then you want the final output to be a string (presumably) in format 'MM/DD/YYYY', so for that you need the function TO_CHAR. So you have to jump that hurdle, too. The final

UP!UP!UP! 看Informatica如何为你的Salesforce加油提速!

做~自己de王妃 提交于 2019-12-13 09:33:41
​Part 1 新消息“数递”: Informatica发布新版Informatica Salesforce Guide , 提升混合数据访问能力 近日,全球数据管理领导者Informatica在Dreamforce 2019大会上发布了Informatica Salesforce Guides for Hybrid Data Access(针对混合数据访问场 景 的Salesforce向导)。 Informatica Salesforce Guides提供了一种简明的工作流应用场景体验,它可以帮助用户自动处理Salesforce 任务,并实现对Salesforce云数据和本地数据的实时交互式访问,从而避免了复杂的集成工作。 这种新的解决方案的特别之处在于Informatica Guide Designer。 它向所有用户提供了一种快速实现工作流开发和交付的简单方法,这些工作流被嵌入到Salesforce用户接口,且无需编码。Informatica Salesforce Guides避免了管理分散数据源时容易出现的低效问题,并允许用户方便地输入和访问那些与销售、服务及市场活动有关的数据,例如,从销售线索到销售活动结束、全周期的销售过程以及呼叫中心的自动化处理过程。 Informatica Salesforce Guides for Hybrid Data Access

Case Statements/Decode Function in Informatica

泪湿孤枕 提交于 2019-12-12 09:34:57
问题 Could anyone help me with writing case statements in Informatica PowerCenter Designer? I am fairly new to Informatica, and based on my limited experience I feel case statements aren't supported. There is a decode function with similar functionality, but I am unable to find any good examples on the syntax. I would really appreciate if anyone could give me some specific examples on how to use case statements/decode function in Informatica. Thanks much for your help! 回答1: You're right - there is