i have source like
X1 10
X2 20
X1 30
X2 40
i want target as
X1 X2
10 20
30 40 in informatica
Answer Posted / sushma
SOURCE--->SOURCE QUALIFIER ----> EXPTRANS1 -----> FILTER ---
--> EXPTRANS2 ------> TARGET
In EXPTRANS1, concatenate X1 and X2 values for every 2nd
record (ie X= X2). Lets call this output column as
x1x2_value
Note: I am concatenating for every second record as X1 and
X2 appear alternatively In your sample data,
In the filter transformation, have the filter condition
X='X2' (only these recs have the concatenated data)
In EXPTRANS2, Using substr to split the data into X1 and X2
and load it into target table
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Make a note of the quantity vaults made in informatica?
Explain lookup transformation in informatica
What is joiner transformation in informatica?
What is different between the data warehouse and data mart?
How to differentiate between the active and passive transformations?
What is the difference between router and filter?
Explain pushdown optimization $pushdownconfig parameter - informatica
Write the unconnected lookup syntax and how to return more than one column.
What is Story point Estimation ? Can any one give just an introduction about this ? Advance Thanks
Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?
Explain sessions. Explain how batches are used to combine executions?
How to do unit testing in informatica?
Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?
how to create user defined function (udf) in informatica
what is the Default Source Option For Update Strategy Transformation?