XMLType
Description
This Oracle-supplied type can be used to store and query XML data in the database.
XMLType
has member functions you can use to access, extract, and query the XML data using XPath expressions. (Oracle SQL Language Reference XML Data Type)
Snowflake handles semi-structured data types (including XMLTYPE) using the VARIANT data type, for this reason, XMLTYPEs are to be migrated to VARIANT, and then usages of functions used to manipulate and query XML must be migrated to Snowflake's counterparts. For more information on how to use XML in Snowflake, please refer to this post in the Snowflake forum and the TO_XML function documentation in Snowflake.
Sample Source Patterns
XMLType in Create Table
Oracle
Snowflake
Insert data in the XML column
Oracle
Snowflake
Known Issues
1. XMLType manipulation and query functions are not recognized
The functions for manipulating and querying XML such as XMLTYPE() are not being recognized nor transformed by SnowConvert.
Related EWIs
SSC-EWI-0036: Data type converted to another data type.
SSC-EWI-OR0016: XML is not supported.
Last updated