i have a table
col1
10
20
30
40
10
20
50
my requirement is how to retrive only duplicates like
10
10
20
20
like this how it's possible in SQL?

Answer Posted / d.bharath

Take source and copy,aggregate,transformer and lookup,
1) give one copy output link to aggr,

2)In arggr perform count rows,

3)And in transformer check constrains count>1,count>2

4)And lookup the result of count>2 with the second output
link of copy stage.the you will get the all repeated rows
into on one output dataset.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the enhancements made in datastage 7.5 compare with 7.0?

707


How to implement complex jobs in data stage?

614


What is ibm datastage?

605


How one source columns or rows to be loaded in to two different tables?

661


Define Merge?

874






What is meta stage?

579


What is "fatal error/rdbms code 3996" error?

663


AGGREGATOR default datatype

935


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

1635


How we can covert server job to a parallel job?

593


What is the use of datastage designer?

638


What are the functionalities of link collector?

627


What is the difference between server job and parallel jobs?

668


What are stage variables and constants?

702


Lookup constraints

840