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

how many data models u have done in informatica project?

2 Answers   TCS,


What is source qualifier transformation in informatica?

0 Answers  


explain abt union t/r?

1 Answers   IBM,


A TABLE CONTAINS SOME NULL VALUES . HOW TO GET (NOT APPLICABLE(NA)) IN PLACE OF THAT NULL VALUE IN TARGET .?

5 Answers   HP,


How does the server recognize the source and target databases. Elaborate on this.

1 Answers  






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

0 Answers  


if i have a file having record sal=10000,and when use router with two groups having condition sal>5000 in one group,sal>7000 in other group.and if two groups connected to two targets.in which target sal=10000 will go?

9 Answers   BirlaSoft, Genpact, L&T, Syntel,


Where we use dynamic lookup and where we use it?do we generate surrogate keys using dynamic lookup?can we use it for scd type 2 mapping and why?

3 Answers   Amdocs,


How to Migrate the UNIX SCRIPTS from SIT TO PROD?

1 Answers  


how to run 2 workflows sequentially. plz respond what is the process?

9 Answers   Cap Gemini, Target,


How to convert flat file into xml file? How to tune joiner?

2 Answers   Accenture,


Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?

2 Answers  


Categories