Using Expression transformation how to remove duplicate
records from a relational source?
Answer Posted / prathibha
Hi,
Source->SQ->Sorter->Expression->FilterTarget.
Lets take a small example for this scenario.
Use a sorter to sort the input data.
ID Name
1 A
1 A
2 B
3 C
3 C
In Expression Transformation declare the following ports:
ID
Name
O_Count= iiF(V_port=ID,O_Count=O_count+1,O_Count=0)
V_port(Variable Port) = ID;
In filter transformation give the condition O_Count =0;
Let me know if there are any suggestions.
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
Explain Dataware house architecture .how data flow from intial to end?
Explain the tuning lookup transformation - informatica
How you know when to use a static cache and dynamic cache in lookup transformation?
where to store informatica rejected data? How to extract the informatica rejected data?
What is joiner change?
How to join three sources using joiner?
What is parallel processing in informatica?
Is stop and abort are same in informatica?
How can informatica be used for an organization?
How to create Target definition for flat files?
Enlist some properties of sessions.
Differences between version 7.x and 8.x.
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
What are the transformations that are not supported in mapplet?
How to call shell scripts from informatica?