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 / subhash
SQL> small correct in Query provided by Kalpana.
SELECT COL1 FROM TAB1 WHERE COL1 IN
(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 ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between the local container and shared container?
To see hidden files in LINIX?
Give an idea of system variables.
Define Job control?
1)s.key generate 1 to 700 records today. tomorrow another 400 will updated how to update the records using s.key generator? 2)source is like :-- DB --> T/F stage1 --> seq1file T/f 1 is linking with T/F2 ---> seq 2 how to load the data? in source i given some conditions those r going in seq1. The another data will going to seq2 how to do this ?
What is orabulk stage?
What are the different type of jobs in datastage?
What is "fatal error/rdbms code 3996" error?
project Steps,hits, Project level HArd things,Solved methods?
On which Dimension Table you implemented SCD Type in your Project
Can you explain tagbatch restructure operator?
1.what is repartionoing technique? 2.what deliverables transferred to client using datastage? 3.how to write loop statements using nested loop sequence?
how to sort two columns in single job in datastage.
How to convert RGB Value to Hexadecimal values in datastage?
What are the differences between datastage and informatica?