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...

how many types of remove the duplicate records?

Answer Posted / soumya

1. Sort the Data using a key column then Use 3 transformer stage Variable
SV1 = Col1
SV2 = If SV1 = SV3 then 'DUP' else 'UNQ'
SV3 (Initial value = 0)
In the constraint SV2 = 'DUP' or SV2 = 'UNQ'

2. Aggregater stage group by key col (col1) count the column
then a filter stage use count col > 1.  

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between in process and inter process?

1234


How to find value from a column in a dataset?

2203


How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...

1504


Define repository tables in datastage?

1157


1.what is repartionoing technique? 2.what deliverables transferred to client using datastage? 3.how to write loop statements using nested loop sequence?

2277


What is staging variable?

1091


Define APT_CONFIG in Datastage?

1080


What are the components of datastage?

1123


how can we create rank using datastage?what is the meaning of rank?

8792


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

1746


What are the various kinds of the hash file?

1149


What is size of a transaction and an array means in a datastage?

1311


What are transforms and what is the differenece between routines and transforms?

1065


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2865


Define project in datastage?

1093