XMLSPLIT Syntax - 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ā„¢
XMLSPLIT (
  docID,
  sourceDoc,
  splitSize,
  splitPath,
  [ replicationList ]
)

Syntax Elements

docID
To correlate output documents to their source documents. INTEGER.
sourceDoc
The source document. CLOB.
splitSize
Size of the resulting document. INTEGER.
splitPath
The path to the recurring element in the document hierarchy where the source document is split. splitPath can use wild-card characters, such as '*' to indicate a hierarchy level down a path at which the documents can be split; for example: /A/B/*. VARCHAR. CHARACTER SET UNICODE.
replicationList
[Optional] Comma-separated list of paths to elements that need to be replicated in all the output documents. VARCHAR. CHARACTER SET UNICODE.