Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explian the Process of deployment groups in informatica

1062


What is a standalone command task?

1209


What is decode in informatica?

1166


How many input parameters can exist in an unconnected lookup?

1547


How we can use union transformation?

1054


What is difference between a gateway node and worker node?

1143


What are the restrictions of union transformation?

1044


Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?

1129


Enlist the various types of transformations.

1060


what is INFORMATICA TESTING process

2297


Explain dynamic target flat file name generation in informatica

1056


How union transformation is used?

1009


Whats there in global repository

1696


What are the informatica performance improvement tips

1096


How can we use mapping variables in informatica? Where do we use them?

1206