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 / bidhar
I think you can get this by SQ Override query itself.
SQ->Exp->Target
SQ Override Query:
SELECT ID,MIN(DATE) FROM TABLENAME GROUP BY ID.
Let me know if i am wrong.
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
can you please explain me pre session and post session options?
What is InformaticaPowerCenter?
What is the difference between router and filter?
How to go to the older version for a mapping?
What are the differences between joiner transformation and source qualifier transformation?
What happens to map if we alter the datatypes between source and its corresponding source qualifier?
How to generate sequence numbers without using the sequence generator transformation?
What is the reusable transformation?
What is a code page?
What is a filter transformation and why it is an active one?
Explain incremental aggregation in informatica
What are the issues you have faced in your project? How did you overcome those issues?
What if the source is a flat-file?
What is mapping debugger?
generate date / time dimension in informatica