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

Source (Flatfile) - Target (1-1 mapping). How to load first or
last 20 record to target?

Answer Posted / joe

We cannot use a sorter because it will shuffle the data.

For the last 20 rows. In a seperate pipeline use aggregator
and do a Count(key) and Max(key) to get the total number of
rows.
use an output port o_count and o_max to populate this count
to an expression transformation before the Filter.

o_count_last_20 = o_count - 20
i.e. if there are 35 records we need records from 15 to 35

In the filter check nextval between o_count_last_20 and
o_Max

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Performance tuning( what you did in performance tuning)

1975


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

968


What is status code in informatica?

1015


What are the uses of etl tools?

1121


What is the Process to creating lookup transformation in informatica

1040


Is it possible to use a client with different version than that of its Informatica server?

1134


How are indexes created after completing the load process?

1634


Hi, I am planning to take Infa Certification exam but am unable to find its dumps anywhere on web. If anybody has it, plz share them with me. jkinfo22@gmail.com Thanks in advance

2042


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

2025


What is the use of code page?

1085


What is a shortcut and copy in Informatica and how two are different with each other?

1194


What is Data Caches size?

1086


can we override a native sql query within informatica? Where do we do it? How do we do it?

1047


If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b, the target should be loaded as 1 a+b+c or 1 a||b||c, what transformations should be used for this?

10163


What is a mapplet/worklet in informatica?

1185