how to putting double quotes around all the data fields in a csv file.

Four Stars

how to putting double quotes around all the data fields in a csv file.

Hi,

 

I am doing a select on a table from oracle database and placing that in a csv file. i want to put double quotes around all the data fields .

 

can someone tell me how to do this.

 

Thanks

spallapu

Accepted Solutions

Re: how to putting double quotes around all the data fields in a csv file.

Hi,

best to create metadata for your file delimited and configure Text enclosure settings as :

 


2018-03-09 17_36_55Metadata csv.png2018-03-09 17_38_40 escape Quote.png

 

BR Bp

View solution in original post

Sixteen Stars TRF
Sixteen Stars

Re: how to putting double quotes around all the data fields in a csv file.

text enclosure

TRF

View solution in original post


All Replies
Sixteen Stars TRF
Sixteen Stars

Re: how to putting double quotes around all the data fields in a csv file.

Hi,

tFileOutputDelimited advanced setting then tick CSV options.


TRF
Four Stars

Re: how to putting double quotes around all the data fields in a csv file.

I see two options escape char and text enclosure with the default values as """.

 

which one do i have to change to get double quotes around each data field.

spallapu

Re: how to putting double quotes around all the data fields in a csv file.

Hi,

best to create metadata for your file delimited and configure Text enclosure settings as :

 


2018-03-09 17_36_55Metadata csv.png2018-03-09 17_38_40 escape Quote.png

 

BR Bp

View solution in original post

Sixteen Stars TRF
Sixteen Stars

Re: how to putting double quotes around all the data fields in a csv file.

text enclosure

TRF

View solution in original post

Highlighted
Four Stars

Re: how to putting double quotes around all the data fields in a csv file.

yes that worked . Thank you for ur help Smiley Happy

spallapu
Sixteen Stars TRF
Sixteen Stars

Re: how to putting double quotes around all the data fields in a csv file.

Hi,
Don't forget to mark your case as solved.

TRF

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog