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
I have a flat file, want to reverse the contents of the flat file
What is Index Caches size?
On which transformations you created partitions in your project?
What is domain and gateway node?
One of the optimizing technique to improve the session performance is push down optimization,by using push down optimization we push as much as transformation logic to source/target database,but this degrades the d/b performance,how to overcome this?
What are session parameters ? How do you set them?
Please let me know how to make Data masking in informatica..
Different qualification between a related rotate toward the sky and isolates look upward?
Explain the etl program with few examples.
What is the fact table?
explain one complex mapping with logic? sales project?
Differentiate between reusable transformation and mapplet.
What is a repository? And how to add it in an informatica client?
How many ways are there to do 'remove duplicate records in informatica'?
difference between informatica 8.1.1 and 8.6