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
what is INFORMATICA TESTING process
Explain scd type 3 through mapping.
What are the static cache and dynamic cache in informatica?
can any one explain about dataflow in the informatica project for bank domain....thanks is advance
can we override a native sql query within informatica? Where do we do it? How do we do it?
Explain lookup transformation is active in informatica
wf dont have integration severances how you can run?
Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?
How to join three sources using joiner? Explain though mapping flow.
How can we send the flat file data to different targets(which are also flat files) based on the name of flat file with out adding extra columns?
Which transformation is needed while using the Cobol sources as source definitions?
Could you explain what is enterprise data warehouse?
How to update source definition?
What is the advantage of informatica?
Have you worked with/created Parameter file