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

What is resilience time?

1144


How do you load first and last records into target table?

1159


Can we create multiple integration service on single repository?

1188


Explain the code page compatibility?

1071


How does a rank transform differ from aggregator transform functions max and min?

1207


what is degenerated dimension?

3998


Is it possible to revert a global repository to local one and why?

1082


What is the way to execute pl/sql script using informatica mapping?

1607


What are the uses of etl tools?

1128


What is data transformation manager process?

1159


According to his methodology what all you need before you build a datawarehouse

1759


Explain the etl program with few examples.

1051


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

1131


Write the program through which the records can be updated?

1006


Clarify the aggregator change?

1030