informatica-powercenter

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

PowerCenter REG_EXTRACT issue

≯℡__Kan透↙ 提交于 2019-12-12 03:14:36
问题 I'm having an issue, converting REGEXP_SUBSTR from ORACLE to REG_EXTRACT in PWC (9.5.1). In Oracle i have the statement below: select regexp_substr('AA 12345678 * 123','[^' || CHR (9) || ']+', 1,1) FIELD1, regexp_substr('AA 12345678 * 123','[^' || CHR (9) || ']+', 1,2) FIELD2, regexp_substr('AA 12345678 * 123','[^' || CHR (9) || ']+', 1,3) FIELD3, regexp_substr('AA 12345678 * 123','[^' || CHR (9) || ']+', 1,4) FIELD4 from DUAL; Result: FIELD1=AA FIELD2=12345678 FIELD3=* FIELD4=123 In PWC i've

informatica multi correlated subquery implementation

独自空忆成欢 提交于 2019-12-12 01:20:20
问题 I am facing a task that due to my lack of experience with Informatica Components, in particular SQL Transformation, I did not implemented yet. So what would be the best approch in PowerCenter to implement this kind of subquery: SELECT A.ID, NVL2(A.SACHKONTO, B.KLAMMER, A.ID) AS KLAMMER FROM Table1 A, (SELECT A.ID AS KLAMMER, B.ID FROM (SELECT ID, ID AS VON_ID, LEAD(ID,1) OVER (ORDER BY ID) - 1 AS BIS_ID FROM Table1 WHERE SACHKONTO IS NULL) A, Table1 B WHERE B.ID BETWEEN A.VON_ID AND A.BIS_ID

How to pivot row data using Informatica?

痞子三分冷 提交于 2019-12-11 11:03:50
问题 How can I pivot row data using Informatica PowerCenter Designer? Say, I have a source file called address.txt: +---------+--------------+-----------------+ | ADDR_ID | NAME | ADDRESS | +---------+--------------+-----------------+ | 1 | John Smith | JohnsAddress1 | | 1 | John Smith | JohnsAddress2 | | 2 | Adrian Smith | AdriansAddress1 | | 2 | Adrian Smith | AdriansAddress2 | +---------+--------------+-----------------+ I would like to Pivot this data like this: +---------+--------------+-----

Database driver error >>The character “ ” following “ÃãÉåÉãèmÉÄ@” is not valid<< during session execution

人走茶凉 提交于 2019-12-11 05:48:01
问题 I am getting below error at session level. kindly help me to fix this - READER_1_1_1> RR_4035 SQL Error [ [IBM][CLI Driver][DB2/AIX64] SQL0007N The character " " following "ÃãÉåÉãèmÉÄ@" is not valid. SQLSTATE=42601 sqlstate = 42601 Database driver error... I have written a SQL query in source qualifier. Query is fetching data from three tables, so join is there,condition is there and sub-query is also. While validating in source qualifier, it not giving any error and even running this query

Why joiner is not used after Sequence generator or Update statergy

蹲街弑〆低调 提交于 2019-12-11 03:54:58
问题 Can any one please explain Why joiner is not used after Sequence generator or Update statergy? 回答1: It's because joiner may render useless the logic achieved until those two transformation. Joiner after sequence generator - Purpose of a sequence generator is to generate a new or missing key value. Depending on the join type, you may drop this key value. Joiner after update strategy - Purpose of update strategy is to determine how a record needs to be processed into the database - insert

DTS vs. SSIS vs. Informatica vs. PL/SQL Scripting

↘锁芯ラ 提交于 2019-12-10 18:10:09
问题 In the past, I have used Informatica for some ETL (Extraction Transformation Loading) but found it rather slow and usually replaced it with some PL/SQL scripts (was using Oracle at the time). (questions revised based on feedback in answers) I gather that DTS was Microsoft's ETL tool prior to SSIS. Would it be difficult to convert an existing application using DTS to SSIS? Given that SSIS is a Microsoft tool and tightly integrated with SQL Server (virtually a part of it) are there any

Can ETL informatica Big Data edition (not the cloud version) connect to Cloudera Impala?

冷暖自知 提交于 2019-12-08 15:51:51
问题 We are trying do a proof of concept on Informatica Big Data edition (not the cloud version) and I have seen that we might be able to use HDFS, Hive as source and target. But my question is does Informatica connect to Cloudera Impala? If so, do we need to have any additional connector for that? I have done comprehensive research to check if this is supported but could not find anything. Did anyone already try this? If so, can you specify the steps and link to any documentation? Informatica

Using mapping parameter in an Informatica stored procedure call

北城余情 提交于 2019-12-08 08:24:17
问题 I am using a stored procedure as a source in my Informatica mapping, and I have defined the SQL query in the source qualifier as exec dbo.GET_ATTRIBUTES($$fromDate, $$toDate) where $$fromDate and $$toDate are mapping parameters I have defined in a parameter file. I have tried a number of different ways of going about this and none seem to work, as the SQL query fails to validate. So, my question boils down to this, is there a way to call a stored procedure while passing in two mapping

Set Mapping variable in Expression and use it in Source Filter

梦想与她 提交于 2019-12-08 08:03:37
问题 I have two tables in different databases. In a table A is the data, in the other table B are information for incremental load of the data from the first table. I want to load from table B and store the date of the last successful load from table A in a mapping variable $$LOAD_DATE . To achieve this, I read a date from table B and use the SETVARIABLE() function in a expression to set the $$LOAD_DATE variable. The port in which I do this is marked as output and writes into a dummy flat file. I