I have source like col1,col2,col3,col4 and the values are like
3,6,1,7
1,5,3,8
2,1,5,6
i want the output like
3,6,7
5,3,8
2,5,6
How we will achieve in this scenario in informatica level.
Please help me..
Thanks in advance..
Answer Posted / vidya
source -- sq -- exp1 -- exp2 -- t
exp1- create 4 var ports, and 1 output port as
v1=iif(col1=1, null, c1)
v2=iif(col2=1, null, c2)
v3=iif(col3=1, null, c3)
v4=iif(col4=1, null, c4)
op_port1=v1||v2||v3||v4
exp2- op_port1
create 3 out_put port
c1=substr(op_port1, 1,1)
c2=substr(op_port1, 2,1)
c3=substr(op_port1, 3,1)
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
To import the flat file definition into the designer where should the flat file be placed?
Dimension Object created in Oracle can be imported in Designer Cubes contain measures
What is the status code in stored procedure transformation?
Performance tuning( what you did in performance tuning)
What is mapplet in informatica?
In informatica workflow manager, how many repositories can be created?
what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?
what is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not
What is repository manager?
What happen if you have 3 ports in SQ and 4 ports in SQL override of SQ( provided all ports are in same order and they are connected with proper source and target)? Also what happens when I have 4 ports and will extract 3 values in SQloverride.. What will be the value in 4th port ?
What is meant by lookup transformation? Explain the types of lookup transformation?
How we can create indexes after completing the loan process?
Explain why we use partitioning the session in informatica?
Explain the types of lookup transformation?
4 yrs etl devloper roles and responsibilities?any body give solutions