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

What are the functionalities of link partitioner and link collector?

592


How we can covert server job to a parallel job?

590


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

1911


What is difference between join, merge and lookup stage?

631


what is 'reconsideration error' and how can i respond to this error and how to debug this

2109






Where the datastage stored his repository?

608


What a datastage macro?

623


What is the roundrobin collector?

633


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

2416


Explain entity, attribute and relationship in datastage?

624


Can you explain repository tables in datastage?

892


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

1773


Differentiate between Join, Merge and Lookup stage?

637


Can you explain tagbatch restructure operator?

690


Is it possible to query a hash file?

1552