Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

ASCII value of the delimiter in TPT Export Operator - response (10) by DiEgoR

$
0
0

I have a similar question so posting into this thread. As per this recipe http://superuser.com/questions/318420/formatting-a-comma-delimited-csv-to-force-excel-to-interpret-value-as-a-string?lq=1
I'd like to use

DEFINE JOB qstart2
(
apply to operator ($file_writer ATTR (QuotedData='Y'  ,OpenQuoteMark  = '"\t'  ,CloseQuoteMark = '"'  ,TextDelimiter  = ';'
))
  SELECT * FROM OPERATOR($EXPORT);
);

in the TPT job. How can I specify the tab so that it is inserted correctly via OpenQuoteMark?
Currently with '"\t' literally three characters ",\,t are being inserted. I need the \t to be converted into a tab.
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>