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

bteq export and import for _ET dataparcel - response (20) by suhailmemon84

$
0
0

In order to pull data from a varbyte column(with delimited data in them with any delimeter...say pipe) and insert into a varchar column, I need to be able to first "split" the data using the delimeter(in this case: pipe) and then somehow cast it to a varchar.
2 problems here:
1. How do I split a varbyte column within Teradata?
2. How do I convert a varbyte to a varchar? type conversions on byte columns aren't allowed.
I think, at this point, exporting the dataparcel column to a file using bteq and importing it using the "using modifier" seems to be the only solution.
Regards,
Suhail


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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