How to create a mapping ?
id date
101 2/4/2008
101 4/4/2008
102 6/4/2008
102 4/4/2008
103 4/4/2008
104 8/4/2008
O/P - shud have only one id with the min(date)
How to create a mapping for this
Answer Posted / rob
Add the below query to source qualifier's SQL OVERRIDE
and you will get the required output
select * from (select min(to_date(date,'dd/mm/yyyy'))as
d,id from emp
group by id order by d)where rownum =1;
source-->SQualifier(with query)----> target
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
in reporting we add some new objects,how we get the count of the newly added objects to the report
What is confirmed fact in dataware housing?
What are the informatica performance improvement tips
Performance tuning in UNIX for informatica mappings?
Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?
permutations of mapplet
Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?
What is a dimensional model?
What are active and passive transformations?
Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?
What are the data movement modes in informatica?
can we override a native sql query within informatica? How do we do it?
How can we use mapping variables in informatica?
explain about unit testing? in real time?
I have 100 records in source table, but I want to load 1, 5,10,15,20…..100 into target table. How can I do this? Explain in detailed mapping flow.