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

Explain incremental aggregation in informatica

0 Answers   Informatica,


What are steps to follow Informatica migration from 7x to 8x? Pls Explain...

1 Answers   CTS, TCS,


How to join three sources using joiner? Explain though mapping flow.

0 Answers  


What is a joiner transformation and why it is an active one?

0 Answers  


Can anyone tell me the new features in Informatica 9 Version?

2 Answers   Syntel,


How to add source flat file header into target file?

3 Answers   Logica CMG,


What is the difference between Junk and Confirmed Dimention? where can be used htat one in Informatica?

3 Answers  


How to Explain My project flow,In TCS ased me this question. In which way i can start my project flow and they asked how many fact tables and dimensional tables u used. Can any one Explain Briefly for this question and project architecture also.. please..

3 Answers   CTS, HCL, Infosys, TCS,


How will the document be delivered to me?

0 Answers  


Why we use stored procedure transformation?

4 Answers  


write a sql query following source? subject mark maths 30 science 20 social 80 requird output maths science social 30 20 80

3 Answers   iGate,


How to Display top 2 salaries for each department WITHOUT using Rank Transformation And WITHOUT using SQL queries in source qualifier.

3 Answers   Eureka Forbes,


Categories