Issue with Update override at Target table in Informatica.
Answer Posted / mukeshb112
There is some issue with Update override.
Default query is:
UPDATE EMPTGT SET ENAME = :TU.ENAME, JOB = :TU.JOB, MGR
= :TU.MGR, HIREDATE = :TU.HIREDATE, SAL = :TU.SAL, COMM
= :TU.COMM, DEPTNO = :TU.DEPTNO WHERE EMPNO = :TU.EMPNO
and I don't want to update all columns so I delete others
My query is
UPDATE EMPTGT SET SAL = 500
WHERE EMPNO = 7900
There is primary key as Empno.
I want to know where is issue in my query.
and what does mean by " :TU " in default query.
Thanks and regards
Mukesh
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is main use of mapplet?
What are the prerequisite tasks to achieve the session partition?
Differentiate between source qualifier and filter transformation?
What is primary and backup node?
Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance
Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.
What is the function of union transformation?
1)you have multiple source system where u receive files ,how do you actually load into mapping using transformation,what are the transformation you use? 2)you have files in ftp location ,how do you get it into mapping with you ETL concept?
Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?
What is a filter transformation and why it is an active one?
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
Which are the different editions of informatica powercenter that are available?
what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?
CANNOT USE PARAMETER FILE! Hi all, I am trying to use parameter file for my workflow. This could help me to filter records where CITY = 'Portland' Following is what I have done: **in Designer - create new parameter : $$PARA_FIL, Parameter, String, IsExprVar=TRUE, Initial value = [empty] - Source Qualifier/ Properties/Source Filter: CUSTOMERS.CITY='$$PARA_FIL' **Create Parameter file: C:\Informatica\PowerCenter8.6.0 \server\infa_shared\BWParam\DynamicParamTest.txt $$PARA_FIL='Portland' **Configure workflow to use the parameter file: Edit Workflow/Properties/Parameter Filename: C:\Informatica\PowerCenter8.6.0 \server\infa_shared\BWParam\DynamicParamTest.txt I also configured directory of parameter file for session task. However, I just got this in the session log: [SQ_CUSTOMERS] SQL Query [SELECT CUSTOMERS.CUSTOMER_ID FROM CUSTOMERS WHERE CUSTOMERS.CITY='$$PARA_FIL'] No record has been loaded to target. It seems that the parameter file has not been read. I cannot understand the reason why. Could any of you kindly suggest me anything? Thanks
How to extract the informatica rejected data?