count number of deptno in a emp table?
Answers were Sorted based on User's Feedback
Answer / naganji mandru
Using aggrgator one way,Another way write query from database stage like
Select deptno,count(*) as c from emp group by deptno
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nish
use aggregator stage: Group by Deptno.
In the calculation field: select RecCount
this will create a new column with count of deptno. Make sure to map to the output stage.
Hope this helps your poorly framed question.
| Is This Answer Correct ? | 1 Yes | 0 No |
how can u connect the client system directly at any time?
how to identifie,is it innerjoin,leftouter join in lookup?
What is diff between Junk dimensions and conform dimension?
I have a few records just I want to store each records tow times in target how?
what is the difference between lookup stage reject link and merge stage reject link in datastage Parallel jobs?
1)Source file contains one record, I want 100 records in target file.
Define Data Stage?
How to read multiple files at different directories using a single Sequential File stage in DS Enterprise Edition
i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu
I have file with empid,empname and I want to load these two fields along with sal in my target 1)salary must be same for all the records 2)I want pass the salary at run time
What are the third party tools you used in your project?
SEQUENTIAL FILE I HAVE ONE RECORD,I WANT 100 RECORDS IN TARGET?HOW CAN WE DO THAT?PLS EXPLAIN ME AND WHAT STAGES ARE THERE?WHAT LOGIC?