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

How do you handle two sessions in Informatica

0 Answers   Informatica,


How can you differentiate between powercenter and power map?

0 Answers  


what is correlated query?

2 Answers   IBM,


What are the basic requirements to join two sources in a source qualifier transformation using default join?

0 Answers   Informatica,


What are the methods for creating reusable transforamtions?

2 Answers  


write sql query to filter the null value data following table? name age john 30 smith null null 34 sharp 24 i want the output following are name age john 30 sharp 24

2 Answers   HP,


Source is a flat file and want to load unique and duplicate records separately into two separate targets; right??

4 Answers  


delete data from staging table as it loads to target table.here is the case we are getting data from 3 different server.a b and c.the data from server A loaded into staging table and we ran the task and data loaded to target table.now today data from server B and C also got loaded to the staging table.now what techniques and what transformations should be used to delete only the data which has been loaded only to the target.we need to delete only that data from staging which has been loaded into the target.looking for your responses

2 Answers   Motorola,


What is a surrogate key?

0 Answers  


What is repository manager?

0 Answers  


How can a Lookup with Dynamic Cache be replaced in a mapping? Explain.

2 Answers   TCS,


Diff B/W MAP Parameter, SESSION Paramater, DataBase connection session parameters.? Its possible to Create 3parameters at a time? If Possible which one will fire FIRST?

6 Answers   Accenture, HCL,


Categories