By using Transformation i need top most 5 employee salary
from each deptwise? Deptno 10,20,30? which transformation
we need to use?

Answer Posted / jay

Override SQL in source qualifies with bellow query

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 10 order by Sal desc

Union All

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 20 order by Sal desc


Union All

Select Top 5 EmpNo, DeptNo, Sal from Employee where DeptNo = 20 order by Sal desc

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define mapping and session?

676


What is the cumulative sum and moving sum?

865


Write the different tools in the workflow manager?

662


What are the various types of transformation?

741


What is the function of look up transformation?

761






How do you change a non-reusable transformation to reusable transformation?

691


Explain lookup transformation in informatica

736


What is domain in terms of informatica?

644


How to generate sequence numbers without using the sequence generator transformation?

750


tell me the rules and responsblites in our project(my project is development)

1605


Tell me about Propagate functions in informatica

620


What is meant by LDAP users?

776


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

787


What is meant by a domain?

744


How can we create index after completion of load process?

687