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 load last 10 records of flat file in to the target?

Answer Posted / kalpesh radadia

SQ---- Exp ---- Sorter----Exp --- Filter---Sorter ---
Target.
Connect the source qualifier transfromation to an
expression transformation. In the expression
transformation, create the below ports:
v_cnt (variable port) = v_cnt+1
o_cnt (output_port) = v_cnt
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Now connect the sorter transformation to the expression
transformation (do not connect o_cnt port).
Again Connect to expression transformation create the ports
mentioned above
v_cnt (variable port) = v_cnt+1 o_cnt
(output_port) = v_cnt
Connect to a filter transformation and specify the filter
condition as o_cnt<=N
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Connec to the target

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are indexes created after completing the load process?

1646


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

1070


What is rank transformation?

991


What are junk dimensions?

1072


Differentiate between reusable transformation and mapplet.

1096


What are the informatica performance improvement tips

1093


Explain what are the different versions of informatica?

1099


Explain the difference between a data warehouse and a data mart?

1056


What are connected or unconnected transformations?

1123


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

2457


How might one distinguish in the case of mapping is right or not without associating session?

1123


What is target designer and target load order?

1107


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

1067


Can you use flat files in Mapplets.

2653


is it possible to index the data in cache of lkp transformation ?

2029