my source contain data like this
cno cname sal
100 rama@gmail.com 1000
200 karuna@yahoo.com 2000
i want load my data to the target is
cno cname sal
100 rama 1000
200 karuna 2000
plz send the answer
Answers were Sorted based on User's Feedback
Answer / abhinaw prakash
1.Pass the coulmns to an expression transformation.
2.Create a variable port and use INSTR function to find the
location of @.
(INSTR(CNAME,'@')-1)
3.Create an output port and use SUBSTR function to extract
the substring from the string.
SUBSTR(CNAME,1,v_CNAME)
4.Pass it to the output port
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / c
In the expression transformation use the following:
select cno,substr(cname,1,position('@' in cname)-1)as cname,sal from sample
| Is This Answer Correct ? | 0 Yes | 0 No |
How does a sorter cache works?
Difference between Target-based loading and constraint-based loading?
in a table it has 200 rows the query is select 150 from tablename.whats the output
how many data models u have done in informatica project?
What did you do in source pre load stored procedure
how do the project develops? pls specify right from the start to end in step by steps.
What is the difference between router and filter?
source file name xyz a,0,a,a,a b,b,b,0,b c,c,c,0,c target should be like this xyz a b c how to implement this?
I have a scenario with router transformation. but i dont want to capture records from default group. how can we achieve this.
Reusable transformation and shortcut differences
two tables from two different databases r there . both having same structure but different data . how to compare these two tables ?
In a scenario I want to change the dimensions of a table and normalize the denomralized table which transformation can I use?