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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?

709


I have a flat file, want to reverse the contents of the flat file

692


how will u take the data from clint server and next what u do in datamodeling what u will u do in staging area what u will u do next what u are doing please give the step by step by process

1693


How you know when to use a static cache and dynamic cache in lookup transformation?

1337


Explain the difference between a data warehouse and a data mart?

596






SOURCE DATA IS DISPLAY IN THIS FORMATE IN TARGET . WHAT BUSINESS LOGIC WE CAN APPLY. source table target table ------------ ------------ c1 c2 c3 c1 c2 c3 -- -- -- -- -- -- 1 A J 1 2 B K 2 A 3 C L 3 B J 4 D M 4 C K 5 E N 5 E L F M N

1684


What is a router transformation?

625


State the limitations where we cannot use joiner in the mapping pipeline?

546


How to implement security measures using repository manager?

602


Suppose we have two source qualifier transformations sq1 and sq2 connected to target tables tgt1 and tgt2 respectively. How do you ensure tgt2 is loaded after tgt1?

777


Which means the first record should come as last record and last record should come as first record and load into the target file?

610


What is the difference between writing a joiner query in ANSI style and THETA style?

1917


explain one complex mapping with logic? sales project?

6148


What is informatica powercenter repository?

711


What is a code page?

712