How to send duplicates to one target and unique rows to one
target?target is empty
Answer Posted / mohan
Here is the minor modification on Answer #6 posted by me,
SQ-->Sorter-->Expression-->Router-->Targets
Sorter Transformation: Sort by key column(EMP_ID)
Expression Transformation:
V_Match(variable port) =IIF(EMPNO=V_OLD_EMPNO,1,0)
V_OLD_EMPNO(Variable)= EMP_ID
O_EMPNO(output)= V_MATCH
Router Transformation:
create two groups under groups tab,
Original : O_EMPNO=0
Duplicates: o_EMPNO=1
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the main issues while working with flat files as source and as targets ?
can we override a native sql query within informatica? Where do we do it? How do we do it?
How do you convert single row from source into three rows into target?
What is deployment group?
permutations of mapplet
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
Define filter transformation?
What is a surrogate key?
What are the different transaction levels available in transaction control transformation?
What are some examples of informatica etl programs?
What is the need of an ETL tool?
What is flashback table ? Advance thanks
Reusable transformation and shortcut differences
How to load a Dimension ? and how to load a fact table?
Enlist some properties of sessions.