Quantcast
Channel: Teradata Downloads - Tools
Viewing all articles
Browse latest Browse all 870

Issues with TPT when escape character comes in the data

$
0
0

Hello,
I am using TPT to export data. I am using delimiter as |  and escapetextdelimiter as \ . Also I have arequirement to replace \ with \\ when \ comes in data. So I tried using oreplace function in my view. After using that any row which has \ in the data the next delimiters got missed.
 
Example:
if there is no \ in the data this is how my export looks like which is correct
ABC |123 |456 |789
if \ comes in the data e.g ABC\ and in the view i use oreplce to make it ABC\\.
Now when I export using TPT from that OREPLACE view, this is what I am getting in the export file.
ABC\\ 123 456 789
Can anyone tell me how this could be resolved.
 
Thanks

Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



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