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

Answer Posted / sunny

with data as
(
select 'vishnraju@gmail.com' coll from dual
union all
select 'suresh@yahoo.com' col from dual
union all
select 'krishna@hotmail.com' coll from dual
)
select SUBSTR(coll,1,(INSTR(coll,'@')-1)) AS USERNAME from data;

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody send me some real time screenshots of mapping in informatica powercenter. i will be vary thankful to him. my e-mail id :- prakashkumar.kumhar@gmail.com

4304


How union transformation is used?

583


What is a joiner transformation?

545


COM components can be used in Informatica

1867


What is a surrogate key?

555






Explain dynamic target flat file name generation in informatica

642


How do you load unique records into one target table and duplicate records into a different target table?

697


What is decode in informatica?

648


What is deployment group?

678


What are the types of schemas we have in data warehouse and what are the difference between them?

515


Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance

1584


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

627


What you know about transaction control transformation?

552


Can we change Dynamic to Static or Persistent cache? If so what happens?

1715


How to update source definition?

623