suppose if we have dublicate records in a table temp n now
i want to pass unique values to t1 n dublicat values to t2
in single mapping using aggregator & router? how
Answer Posted / reddevilzzzz
@ Shalu
Your answer is almost correct. The question says, you have
to use Aggregator transformation.
Select all the rows from SQ.
Pass them to aggregator transformation. Group By on all
ports.
Create a Output port in Aggregator(lets call it TOTAL) and
give expression as COUNT(Col1).
Create a Router transformation, with 2 groups. In one group
(lets call it UNIQUE), put condition as TOTAL = 1.
In another group (lets call it DUPLICATES), put condition
as TOTAL>=2.
Pass the output from UNIQUE group to table where we want
unique rows.
Pass the output from DUPLICATE group to table where we want
duplicate rows.
P.S - tried and tested :):)
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?
Write the different tools in the workflow manager?
Explain the features of connected and unconnected lookup.
complex mapping ur project u r invlve can u explain and give real time example give me ?
What do you mean by channel change?
What is lookup transformation?
What are the mapping parameters and mapping variables?
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?
While migrating the data from one environment to another environment how would you manage the connections?
What is complex mapping?
What is source qualifier transformation in informatica?
What are the steps involved in the migration from older version to newer version of Informatica Server?
What is target load order?
What are active and passive transformations?
What are pre and post-session shell commands?