i have a some records
eno ename acono amount
1001 suresh sbi101 12000
1001 suresh sbi101 14000
1001 is dublicata how can i remove duplicate?
Answers were Sorted based on User's Feedback
Answer / prasad
by using sort stage also, goto properties tab select alllow
duplicates=false.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / venu
You can use Remove Duplicate Stage and select key
as 'eno'... now the out will be without duplicates...
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / narayana reddy
we can remove the duplicate record i.e. 1001 by
1)using remove duplicate stage by giving as key = eno
2) using sort stage enter key column=eno allow duplicates
=false.
3) by giving partition alogarithms = hash
pariion key =eno that shoud dfine in properties tab.
Regards
Narayana
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / bharathram1234
we can use either rm_duplcte or srt stage..
but if You need any of duplicate record among all other then
u go 4 sort
and if u need last record or first record among all we go 4
rm_duplcte stage.
| Is This Answer Correct ? | 0 Yes | 0 No |
How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.
How did you reconcile source with target?
whats difference between ls -ltr and ls -lrt?
if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?
project Steps,hits, Project level HArd things,Solved methods?
How to enter a log in auditing table whenever a job get finished?
WHERE YOU USE UNIX COMMANDS AS A ETL DEVELOPER?
how can you generate sequence number using only the sequential file stage?
what is the difference between 7.1,7.5.2,8.1 versions in datastage?
how to define satge variables in transformer stage
how to run a sequential file stage in parallel if the stage is used on the TARGET side
What is the project in datastage?