How to remove duplicates in transformer stage? in parallel
mode

Answer Posted / prasad

Take 2 Stage variables in transformer stage

sV1 =Column_Name
sV2 =if Column_Name=sV1 Then 0 Else 1

put it constraint sV2=1 (only will get unique records)

if u want duplicates sV2=0

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of sorting methods are available in datastage?

629


Have you used Unstructured data?

832


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

1076


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

1916


Name the different sorting methods in datastage.

611






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

2424


What is the command line function to import and export the ds jobs?

681


table actions available in oracle connector?

1090


What is the difference between the local container and shared container?

645


What is oci?

850


CHANGE CAPTURE

891


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

1896


What is merge stage?

760


Why do we use link partitioner and link collector in datastage?

679


How can one find bugs in job sequence?

782