Please create a mapping where I have source which has one column with name like Aman_Gupta
Rakesh_Mehra
Sachin_More
I want the target field should contain the name in reverse order i.e Gupta_Aman
Mehra_Rakesh
More_Sachin.

Can you please tell me what transformation would be needed to do this.

Answers were Sorted based on User's Feedback



Please create a mapping where I have source which has one column with name like Aman_Gupta ..

Answer / sarat

In EXP take

2 variable ports

name1 = substr(name,instr(name,'_',1,1)+1)
name2 = concat('_',substr(name,1,instr(name,'_',1,1)-1))

1 O/p port

result = concat(name1,name2)------> this is ur o/p

I wish it works, if any problem occurs,
take '_' as 3rd variable name3 and
concat(name3,name2)
concatenate the result with name 1

Is This Answer Correct ?    3 Yes 0 No

Please create a mapping where I have source which has one column with name like Aman_Gupta ..

Answer / sivaramakrishna

boss am not getting i have tried as u said
thank you

Is This Answer Correct ?    2 Yes 0 No

Please create a mapping where I have source which has one column with name like Aman_Gupta ..

Answer / shankarmba07@gmail.coom

In eXP transformation create 3 ports like:
name1:select substr(name,1,instr(name,'_',1,1)-1)
name2:select substr(name,instr(name,'_',1,1)+1)
O_Name:name2||'_'||name1)

Is This Answer Correct ?    2 Yes 0 No

Please create a mapping where I have source which has one column with name like Aman_Gupta ..

Answer / bhagwati

reverse function will return the character string after reversing it.
For e.g. reverse(Aman_Gupta) will return atpuG_namA

Is This Answer Correct ?    0 Yes 0 No

Please create a mapping where I have source which has one column with name like Aman_Gupta ..

Answer / sudheer113

Can you try reverse function in informatica....

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

what is the hint? how to use it to reduce the query processing in program?

3 Answers   Cegedim,


How big was your fact table

0 Answers  


i have source file data empno,ename,sal 100,ram,1000 200,tyu,2000 300,gh,3000 out put as e empno,ename,sal 100,ram,null 200,tyu,1000 300,gh,2000 how to load it?

5 Answers   Cap Gemini,


explain abt union t/r?

1 Answers   IBM,


daily how much amount of data send to production?

4 Answers   HSBC,






I Have 100 Records in a relational tble and i want to load the record in 3 targets , first records goes to target 1 and second to target 2 and third to target 3 and so on ,what are the tx used in this and what are the logics ,can any one help me ?? Thanks in Advance

6 Answers   IBM, TCS,


Differentiate between a repository server and a powerhouse?

0 Answers  


insallation procedure for power center 8.1.1 especialy domain_config hw to use parameter files

1 Answers  


can we override a native sql query within informatica? How do we do it?

0 Answers  


What does “tail –f” command do and what is its use as an Informatica admin.

0 Answers  


What is decode in informatica?

0 Answers  


What are the types of lookup caches?

10 Answers   Accenture, IBM, Informatica,


Categories