my source table having sureshraj42@gmail.com and rajeshraj42@gmail.com and i have only sureshraj and rajeshraj for my target table which transformation i have to use in informatica

Answers were Sorted based on User's Feedback



my source table having sureshraj42@gmail.com and rajeshraj42@gmail.com and i have only sureshraj and..

Answer / masudul

Just pass the rows through an expression transformation.
then add a new port and write down the expression code-

substr(column_name, 1, (instr(column_name,'@')-1)).

See the output.

Is This Answer Correct ?    2 Yes 0 No

my source table having sureshraj42@gmail.com and rajeshraj42@gmail.com and i have only sureshraj and..

Answer / ankit kansal

Hi,
You can achieve it easily in expression transformation by making an extra out port where you just need to specify

substr('ankit42',1,instr('ankit42','4')-1) logic.

but keep in mind that all of your source data must contains 42 as defined in your problem.

http://deepinopensource.blogspot.in/

Is This Answer Correct ?    1 Yes 3 No

my source table having sureshraj42@gmail.com and rajeshraj42@gmail.com and i have only sureshraj and..

Answer / nsatyabrat7

use expression transformation and create a output port and use replacechr function.

replacechr(1,name,'@gmail.com',null) and connect the output port to target.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Informatica Interview Questions

What are the hard ware required for a normal sized data warehouse? and What are the software required for a normal kind of data warehouse?

2 Answers   CTS,


Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

0 Answers  


can u explain me banking domain projects ? and in banking domain projects how many dimension tables and how many fact tables and how to load source and targets in mapping level plese expain give me one example?

1 Answers   Accenture, Cognizant, HCL, IBM, iGate, L&T, TCS, Virtusa,


lookup transformation with screenshots

0 Answers   TCS,


Label in Informatica. How to remove existing Label.

1 Answers   IBM, Infosys,






How do you change a non-reusable transformation to reusable transformation?

0 Answers  


what is polling?

1 Answers   Informatica,


How many ways are there to create ports?

0 Answers   Informatica,


How to load data into 3 target tables which are in different schema but with the same name and same relational connection at infromatica level ? How to differentiate while loading ? and how to load ?

2 Answers   IBM,


I want skip first 5 rows to load in to target? what will be the logic at session level ??

1 Answers   IBM,


What is a repository manager?

0 Answers  


State the differences between sql override and lookup override?

0 Answers  


Categories