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

In warehouses how many schemas are there?

583


Why filter transformation is an active one?

565


How do you manage the Parameter files while migrating your data from one environment to another environment?

552


What is a filter transformation and why it is an active one?

562


What is union transformation?

575






Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?

1643


Explain the etl program with few examples.

548


What do you mean by channel change?

543


How do you take back up of repository?

723


What are the steps involved in the migration from older version to newer version of Informatica Server?

1582


what is the size ur source like(file system or database)? how many record daily come u r banking project?

1752


Why update strategy and union transformations are active?

593


What is powercenter on grid?

697


What is expression transformation?

636


What is meant by active and passive transformation?

587