Migrate Data to the XML Type | Teradata Vantage - Migrating Data to the XML Type - Analytics Database - Teradata Vantage

XML Data Type

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
lifecycle
latest
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.