XSLT_SHRED_BATCH Stored Procedure | XML Data Type | Teradata Vantage - XSLT_SHRED_BATCH - Advanced SQL Engine - Teradata Database

XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
amr1556233250442.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1140
lifecycle
previous
Product Category
Teradata Vantageā„¢

Use the XSLT_SHRED_BATCH stored procedure for XML shredding (extracting values from XML documents to be used to populate the database), and is based on a mapping provided in an XSLT stylesheet. This stored procedure is used for batch mode shredding, where a number of XML documents are shredded in a single call to the stored procedure.

Required Privileges

The XSLT_SHRED_BATCH stored procedure is created under the user TD_SYSXML.

The user invoking this stored procedure must have the following privileges:
  • EXECUTE PROCEDURE on TD_SYSXML
  • SELECT privilege on the staging table
  • GRANT ALL (Insert/update/delete/upsert) on the target tables

Syntax

TD_SYSXML.XSLT_SHRED_BATCH (
  queryString,
  xsltMapping,
  externalContext,
  resultCode
)