Migrate Data to the XML Type | Teradata Vantage - Migrating Data to the XML Type - Advanced SQL Engine - Teradata Database

XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
kxe1590704060061.ditamap
dita:ditavalPath
kxe1590704060061.ditaval
dita:id
B035-1140
lifecycle
previous
Product Category
Teradata Vantageā„¢
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 that will hold the XML data.
  3. Insert the XML text into the XML columns using the NEW XML operator or the CREATEXML function.