I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure the conversion happens on all commas except the ones enclosed in Double quotes .

Answers were Sorted based on User's Feedback



I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure t..

Answer / vamshi

here is the solution for your question
tested

https://etltechsolutions.wordpress.com/2016/05/23/replace-comma-with-tab-everywhere-except-enclosed-in-a-pair-of-double-quotes/

Is This Answer Correct ?    0 Yes 0 No

I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure t..

Answer / sagar patil

We can gone through with the unix.
Command ..sed 's/','/'-'/g' filename

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Informatica Interview Questions

What are the advantages of informatica?

0 Answers  


What is the difference between Oracle performance and Informatica Percfomance? Which performance is better?

4 Answers   Cap Gemini, IBM,


I HAVE A SOURCE FILE CONTAINING 1|A,1|B,1|C,1|D,2|A,2|B,3|A,3|B AND IN TARGET I SHOULD GET LIKE 1|A+B+C+D 2|A+B 3|A+B WHICH TRANSFORMATION I SHOULD USE

5 Answers   Informatica,


What all are steps in up gradation of Informatica server?

0 Answers  


How to improve the performance of Aggregate transformation?

3 Answers   Dmss,






how to we create datamart?

2 Answers   HSBC,


Define mapping and session?

0 Answers   Informatica,


What type of sorting algorithm does the Sorter Transformation use, to do its sorting Operation? 1. Bubble sort 2. Insertion sort 3. Shell sort 4. Merge sort 5. Heapsort 6. Quicksort 7. Bucket sort

3 Answers  


Why we require dwh in particular projects?

1 Answers   Amdocs,


If u select groupby port in aggregator what is output and dont select groupby option what is output

2 Answers  


I have source like this year account month amount ----- --------- ------ -------- 1999 salaries jan 9600 1999 salaries feb 2000 1999 salaries mar 2500 2001 benfits jan 3000 2001 benfits feb 3500 2001 benfits mar 4000 -->i need target like this year account month1 month2 month3 ----- --------- -------- -------- -------- 1999 salaries 9600 2000 2500 2001 benfits 3000 3500 4000

4 Answers   HCL,


What is the difference between bitmap and btree index?

2 Answers   CTS, TCS,


Categories