17.10 - XMLSPLIT Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1140-171K
Language
English (United States)
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.