i have n number of records in my source, i want first and
last record to my target. how can u implement this scenario .

Answer Posted / rakesh

use 2 rank transformations, 1st one with top1 and 2nd one with bottom1 and connect them to 2 instances of target..

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

rank() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid order by case when opt2.dm_market_flg in ('Y', 'U') then 1 else 2 end, lkp.contact_rank) as rank1, case opt2.contact_type when 'Buyer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, ship_to_flg desc , last_order_dt desc) when 'Decision Maker' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc , last_quote_dt desc , mailability_score desc , source_ranking desc) when 'Influencer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) when 'Payer' then row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) --elu 05/28/2013 else row_number() over (partition by opt2.dim_plat_site_id, opt2.dim_site_opt_sid, lkp.contact_rank order by has_name_flg desc, mailability_score desc, source_ranking desc) end rank2 row_number() over (partition by opt3.dim_plat_site_id, opt3.dim_site_opt_sid order by rank1,rank2) as "rank", case when "rank"<= opt3.maximum_value then 'Y' else 'N' end as include_flg

1528


if we have a delimiters at unwanted places in a flat file how can we over come those.

1570


Why sorter is an active transformation?

751


What is the format of informatica objects in a repository? What are the databases that informatica can connect to windows?

715


What is standalone command task?

711






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

580


What is substr in informatica?

662


State the limitations where we cannot use joiner in the mapping pipeline?

549


On which transformations you created partitions in your project?

761


What are roles and groups and benefits of using them?

569


What are junk dimensions?

633


COM components can be used in Informatica

1873


what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?

1622


What do you understand by SOA of Informatica?

589


What is a code page?

714