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
What is standalone command task?
Tell me about Propagate functions in informatica
What is enterprise data warehousing?
Differentiate between a repository server and a powerhouse?
What is native users?
What are the main issues while working with flat files as source and as targets ?
what is size of u r database?
Explain lookup transformation in informatica
How to use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?
What are the performance considerations when working with aggregator transformation?
can we override a native sql query within informatica? Where do we do it?
Whats there in global repository
What is workflow monitor?
What are the new features of informatica 9.x in developer level?
How might you approve all mappings in the archive all the while?