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 to send duplicates to one target and unique rows to one
target?target is empty

Answer Posted / mohan

Here is the minor modification on Answer #6 posted by me,
SQ-->Sorter-->Expression-->Router-->Targets

Sorter Transformation: Sort by key column(EMP_ID)
Expression Transformation:
V_Match(variable port) =IIF(EMPNO=V_OLD_EMPNO,1,0)
V_OLD_EMPNO(Variable)= EMP_ID
O_EMPNO(output)= V_MATCH

Router Transformation:
create two groups under groups tab,
Original : O_EMPNO=0
Duplicates: o_EMPNO=1 

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the pipeline partition with real time example?

1144


How you know when to use a static cache and dynamic cache in lookup transformation?

1856


What is the use of an aggregator cache file?

1199


How to join three sources using joiner?

1115


How to load the name of the current processing flat file along with the data into the target using informatica mapping?

1272


Can we change Dynamic to Static or Persistent cache? If so what happens?

2211


What is a connected transformation?

1119


Explain sql transformation in script mode examples in informatica

1136


Define sessions in informatica etl?

1035


How many transformations can be used in mapplets.

1935


In warehouses how many schemas are there?

1073


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

1128


What is informatica powercenter repository?

1202


How to partition the Session?

1113


Explain the types of lookup transformation?

1045