Data Type Encoding Numbers for the XML Type | Teradata Vantage - Data Type Encoding Numbers for the XML Type - 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ā„¢

Some of the client and server interfacing parcels such as DataInfoX (parcel flavor number 146), PrepInfoX (flavor 125), and StatementInfo parcel (flavor 169) return the data type of the field. All parcels that contain the data type information use the following encoding for the XML data type. The encoding numbers defined follow the pattern for existing data types. For example, Nullable number is non-Nullable value + 1 and stored procedure IN parameter type number is 500 + non-nullable number.

  NULL Property Stored Procedure Parameter Type
Non-nullable Nullable IN INOUT OUT
XML Text Inline - for small XML values 852 853 1352 1353 1354
XML Text Deferred 856 857 1356 1357 1358
XML Text Locator 860 861 1360 1361 1362