we have three columns and two rows.
col1 col2 col3
a b c
want to change into 2 columns and 3 rows ,how?
col1 a
col2 b
col3 c
which transformation u'll use and how?
Answers were Sorted based on User's Feedback
Answer / sbvprasad
by using normalizer T/r u can do the above logic
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / abhishek kumar(abhisheklalmca@
src->sq->normalizer->expression->target
In normalizer--
c1(column name)- 3(occurs)-string(datatype)
In Expression--
o_c1 -(output port)
decode(GCID_c1,1,'col1',2,'col2',3,'col3')
connect
o_c1(expression) to c1( target port)
c1(exp) to c2(target) port
target should be like this
C1 C2
---------- -----
col1 a
col2 b
col3 c
thanks
abhishek
Is This Answer Correct ? | 6 Yes | 0 No |
what are the settiings that u use to cofigure the joiner transformation?
What is a snowflake schema?
What do you mean by Parameter file? Why do we use it and what all things we can define in a parameter file?
how to load first record of first time run,second record to 2nd time n 3rd record from 3rd time to target table
How can we create index after completion of load process?
How do you recover rows from a failed session
Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.
Why filter transformation is an active one?
What are Business Components in Informatica?
difference between top down(w.h inmon)and bottom up(ralph kimball)approach?
What is the surrogate key?
Hi gurus can any one tell me with a flow how to implement SCD Type 1 and SCD Type 2 in a single mapping.For some fields SCD type has to be implemented and for some fields scd type has to be implementd..Thank in advance....