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
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