If the source has duplicate records as id and name columns,
values:
1 a, 1 b, 1 c,
2 a, 2 b,
the target should be loaded as 1 a+b+c or 1 a||b||c, what
transformations should be used for this?
Answer Posted / souvik
We need to have a Lookup with a Dynamic Cache, a Router, an Expression and then an Update Strategy..... The Lookup will be on the Target Table..... So when the ID is coming for the first time, it wont found any data on the lookup table.... This can be directed for Insertion to the Target Table via a Router.... Then when the same ID is coming for the second time, it will Lookup on the Target Table and will found that the row with the ID exists.... Hence both the columns from the source table and both the columns from the Lookup are taken forward into the Router and then to an Expression Transformation where the second port is Concatenated. Then the ID port and this port is taken to the Update Strategy transformation for Update...
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
what are factless facts? And in which scenario will you use such kinds of fact tables.
if we have a delimiters at unwanted places in a flat file how can we over come those.
What is mapping debugger?
How to partition the Session?
Explain incremental aggregation in informatica
As union transformation gives UNION ALL output, how you will get the UNION output?
What is a sorter transformation?
Give one example for each of conditional aggregation, non-aggregate expression, and nested aggregation?
Enlist the differences between database and data warehouse.
What is Index Caches size?
can u give example for factless fact table
How to start a workflow using pmcmd command?
What is the Rank index port in Rank transformation?
Can we get 1st record through Informatica(without sequence number).
Please tell me which institute is the best to study Informatica and asp.net in chennai Also please send me the latest interview questions in asp.net,c# and sql server to my id ramtryin@gmail.com