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
Global and Local shortcuts. Advantages.
How do you migrate data from one environment to another?
What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks
What is informatica powercenter repository?
What are the restrictions of union transformation?
Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?
how tokens will generate?
How many ways are there to do 'remove duplicate records in informatica'?
what is the -ve test case in your project.
What differs when we choose the sorted input for aggregator transformation?
tell me about your project functionality
Is it possible to define a single node as a Gateway node as well as worker node?
Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance
is it possible to index the data in cache of lkp transformation ?
lookup transformation with screenshots