How to list Top 10 salary, without using Rank Transmission?
Answer Posted / infa
If Your Source is Flat file then
1. Sort the sal column in Desc order
2. generate the sequence rownumber either by using a sq
genrator or Exp Transformation say v_count+1
3. use a filter condition and give the filter value as
v_count <= 10
4.Load into the target.
If your source is DB
then use below query
SELECT *FROM
(
SELECT *FROM emp
ORDER BY Sal desc
)
WHERE rownum <= 10
ORDER BY Sal;
Thanks
cheers
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain dynamic target flat file name generation in informatica
design of staging area?
Differentiate between joiner and lookup transformation?
What is the commit type if you have a transaction control transformation in the mapping?
What are pre and post-session shell commands?
What is Index Caches size?
What is status code in informatica?
What is a filter transformation?
How can we improve session performance in aggregator transformation?
Explain Dataware house architecture .how data flow from intial to end?
Explain the tuning lookup transformation - informatica
how we can load rejected record's at run time?(not through bad files)
What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks
Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?
what is the size of your data warehousing?