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 |
How Union Transformation is an Active Trans?
Hi I'm new in Informatica. Can you show me a mapping sample on how to piviot the records? Thanks Robin
What happens if you increase commit intervals and also decrease commitExplain grouped cross tab?
what is the dashbords?
wht is full process of Information source to target just like stg to productuon and development
Explain your project of banking domian.
in a table it has 200 rows the query is select 150 from tablename.whats the output
Hi, Can you please send me the Informatica 8 certification exam dumps to my email id rwork.san@gmail.com Thanks, Revathi.
how will u take the data from clint server and next what u do in datamodeling what u will u do in staging area what u will u do next what u are doing please give the step by step by process
How do you convert single row from source into three rows into target?
Explain the pipeline partition with real time example?
how to join two flat file if they have diff. structure?how to join one relational and one flat file?