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...

How we can get unique records into one target table and
duplicate records into another target table??

Answer Posted / haaris

If the source is RDMS, then you can write analytic function in the select statement to assign count to each row. And use this count column to route the records to respective target.

If the source is a flat (this is generally asked in interviews), then you can use aggregator to assign count to each row after grouping based on the key and use joiner to join back to source records that way all the rows coming from the SQ will have respective counts. Use router to route them to respective targets.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a joiner transformation and why it is an active one?

1080


Briefly define a session task?

1133


What are the differences between a connected lookup and unconnected lookup?

1070


How to create a non-reusable instance of reusable transformations?

1132


whats the logic to load the lower level of granularity of data to fact table.

2276


What all join we can perform in LOOKUP transformation?

978


What is a sequence generator transformation?

1021


What is the commit type if you have a transaction control transformation in the mapping?

1030


Which transformation is needed while using the Cobol sources as source definitions?

1174


What does reusable transformation mean?

1132


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1641


What you know about transaction control transformation?

995


Performance tuning( what you did in performance tuning)

1987


What do you mean by blocking transformation?

1040


What is target designer and target load order?

1104