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?

Answer Posted / dilip ingole

don't specify delimiter while importing file and use similar function in informticw as

SELECT substr(REGEXP_REPLACE('a,0,a,a,a','[^[:alpha:]]',''),1,1) FROM DUAL;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

758


How we can create indexes after completing the load process?

968


Partition, what happens if the specified key range is shorter and longer

2258


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

1978


Which means the first record should come as last record and last record should come as first record and load into the target file?

856


What is the main purpose of Unconnected lookup other than updating slowly changing dimensions? or In which case u use Unconnected lookup?

6955


COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1

1755


What are the different types of olap? Give an example?

812


Which are the different editions of informatica powercenter that are available?

836


How many numbers of sessions can one group in batches?

851


What are the different versions of informatica?

983


What is the reusable transformation?

875


What is an Integration service in Informatica?

929


Explain the difference between a data warehouse and a data mart?

845


What will be the approach?

793