Migrate Data to the XML Type | VantageCloud Lake - Migrating Data to the XML Type - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
To migrate XML data stored in VARCHAR or CLOB columns to equivalent schemas with XML type columns, do the following:
  1. Verify the XML data is well-formed and conforms to rules of XML formatting.
  2. Create new versions of the tables using XML type for columns to hold the XML data.
  3. Insert the XML text into the XML columns using the NEW XML operator or the CREATEXML function.