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 / nikita jain

for this query we can use aggregator row wise calculation and handle then via router
col1 col2
1 2
1 2
1 2
3 4
3 4
5 6

O/P
Table with unique records:
1 2
3 4
5 6

Table with rest of the records
1 2
1 2
3 4

After SQ take a sorter transformation sort on col1 asc then an expression transformation
col1
col2
v_count iif(col1=prev_col1 and col2=prev_col2, vcount+1,1)
o_count v_count
prev_col1 col1
prev_col2 col2

Take a Router transformation , make 2 groups
Group1 : 0_count=1
Group2 : Default (it will come automatically)

Connect first group with unique target table
and second with other table

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different versions of informatica?

1245


What is lookup change?

1031


scenario where i can use only concurrent execution of workflow.

3138


How would you join a node to the already existing domain?

1110


Explain the pipeline partition with real time example?

1122


How to start a workflow using pmcmd command?

1223


How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?

1094


How to elaborate tracing level?

1152


Different qualification between a related rotate toward the sky and isolates look upward?

973


What differs when we choose the sorted input for aggregator transformation?

1004


EXL informatica Questions

1359


difference between repository database and repository service?

1131


write a query to retrieve the latest records from the table sorted by version(scd)

1049


What is informatica etl tool?

984


What are the tasks that source qualifier perform?

1087