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 |
What are pre and post-session shell commands?
What the difference is between a database, a data warehouse and a data mart?
i have one source 52 million records i want target only 7 records ?how wil you do what logic to implement?
What are connected or unconnected transformations?
select count(1) from emp? what is the o/p?
what is the mechanism of the Master-Detail joining condition?
What are the different caches used in informatica?
Hi,tell me the system testing and Integration Testing in the Informatica ? Thank You
Session S1, S2, and S3. In the session S3 I want to load every Saturday. How it is possible?
How to improve the performance of Aggregate transformation?
write a sql query following table? col1 col2 1 2 1 2 1 2 3 4 3 4 5 6 i want the output like unique duplicate col1 col2 col1 col2 1 2 1 2 3 4 1 2 5 6
in my source table one of column contains the data like vishnraju@gmail.com,suresh@yahoo.com,krishna@hotmail.com these records i need to send in target table as below format. vishnuraju,suresh,krishna