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 |
What is usage analysis in datastage?
in a job of 20 one job is very slow due to that entire job is slow how can u find out which job is slow?
How to create environments and call them? What is the use defined variables?
A flatfile contains 200 records.I want to load first 50 records at first time running the job,second 50 records at second time running and so on,how u can develop the job?pls give the steps?
what is Audit table?Have u use audit table in ur project?
What is aggtorec restructure operator?
What is oci?
1.what is stagearea?what is stage variable? 2.this is my source source:id, name target:id, name 100, murty 100,madan we have three duplicate records for the id column,how can we getthe source record? 100,madan 100,saran
ename like ibm,tcs,hcl need display those records only how?
what is materialized view used datastage?
How you Remove the Dataset in Unix?
Hi Can any one help regarding below INPUT NAME LOC Ram hyd Ram ban Raj chn Raj Pun Sam del OUPUT NAME LOC Ram Hyd ban Raj chn pun sam del