Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is ibm datastage flow designer?

1149


What is the purpose of pivot stage?

1168


How do you import and export data into datastage?

1234


Which algorithm you used for your hashfile?

1182


How to read multiple files using a single datastage job if files have the same metadata?

1252


What are the various kinds of the hash file?

1151


Is possible to create skid in dim,fact tables?

2637


How rejected rows are managed in datastage?

1522


What is datastage?

1084


What are the different types of lookups in datastage?

1054


what is the difference between == and eq in UNIX shell scripting?

1500


What are the different layers in the information server architecture?

1124


Define project in datastage?

1094


how to export or import the jobs in .ISX file

1203


how to run a sequential file stage in parallel if the stage is used on the TARGET side

1746