i/p o/p1 o/p2
1 1 4
1 1 5
1 1 6
2 2
2 2
2 2
3
3
4
5
6
how to populates i/p rows into o/p1&o/p2 using datastage
stages?and also the same scenario using sql?
Answer Posted / kalpana_241871
SQL>
SELECT COL1 FROM TAB1 GROUP BY COL1 HAVING COUNT(*) > 1 ;
O/P 1 :
1
1
1
2
2
2
3
3
SQL>
SELECT COL1 FROM TAB1 GROUP BY COL1 HAVING COUNT(*) = 1 ;
O/P 2 :
4
5
6
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Explain the datastage parallel extender (px) or enterprise edition (ee)?
What are the different type of jobs in datastage?
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)
Which algorithm you used for your hashfile?
What is the command line function to import and export the ds jobs?
Explain how a source file is populated?
How do you start developing a datastage project?
sed,awk,head
How a server job can be converted to a parallel job?
How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?
Have you have ever worked in unix environment and why it is useful in datastage?
How to reverse the string using unix?
Explain Quality stage?
What is ibm datastage?
WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE