i have two coloumn
emp_no sal
1 3000
2 3000
3 3000
4 4000
5 5000
6 2700
7 4500
i just need output by removing duplicate.my answer should be
emp_no sal
1 3000
2 4000
3 5000
and so on.please tel me the transformation to use and if variable is used in expression then how can i give variable expression
Answers were Sorted based on User's Feedback
First in the pre_session command task remove the duplicates
using the following
cut -d "," -f2 filename|uniq
Now in the file you will have
3000
4000
5000
2700
4500
now after source qualifier keep a expression and generate
the sequence.
Hope it clarifies
Regards,
rayudu
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / jayachandra
One solution is use distinct key word on source qualfier as
suppose your table name is emp than on emp_sq
the query is
select emp_no,distinct sal from emp;
2nd sol is make an aggregator transformation here make a
coun()on sal port with group by then put filter
transformation with condition count(sal)=1
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / nsatyabrat7
Use distinct in source qualifier and rest will be taken care
| Is This Answer Correct ? | 0 Yes | 3 No |
Diffrence between 7.1,8.1 and 8.6
when we use dynamic lookup,if condition matches what will be the o/p?
How to extract sap data using informatica?
What do you mean by Parameter file? Why do we use it and what all things we can define in a parameter file?
What are the issues that you have faced while moving your project from the Test Environment to the Production Environment?
what is the difference between mapplet & stored procedure?
what is the diff b/w target load plan and cbl?
what is the monster dimension plz give me one example
How to load query faster,so that It will take less time to load?
Is there any model difference between ODS and DWH
Why the workflow is failed after running two hours in informatica?
Performance tuning( what you did in performance tuning)