how to retrive the max(sal),deptno,empno in datastage?
Answers were Sorted based on User's Feedback
Answer / prasad
select empno,sal,deptno from tablename where (sal,deptno)in(select max(sal),deptno from tablename group by deptno)
in datastage
oracle stage->aggregator stage->lookup->dataset
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / xxx
Hi,
In Aggregator stage:
Specify Group By condition on EMPNO column instead of
DEPTNO.
aggregator type=calculation
column for calculation=sal
max value output column=max(sal)
| Is This Answer Correct ? | 0 Yes | 3 No |
i having source like emptable,dept table and combined purpose using for the join stage but join stage which partition techq will be prefored? pls given the ans?
What are some prerequisites for datastage?
What are the prerequisites for join stage
Define Job control?
Define Routines and their types?
what is the difference between the active datawarehouse and datawarehouse
What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)
What is the difference between the local container and shared container?
What are the types of containers and how to create them?
tell me abt Datastage trigger?
Why do we use exception activity in Datastage?
how can we send even and odd records from a sequential file to two different targets
10 Answers IBM, iGate, TCS,