FNC_UdtSerializeSupported Function | C Library Functions | Teradata Vantage - FNC_UdtSerializeSupported - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

Returns 1 if the UDT supports serialization and deserialization, 0 otherwise.

Syntax

int
FNC_UdtSerializeSupported(UDT_HANDLE  udt)

Syntax Elements

udt
the handle of the UDT.

Usage Notes

The following UDTs support the serialize/deserialize interface. The formats that each UDT will use to serialize and deserialize data are as follows:

UDT Format
ST_Geometry The serialized format is opaque. It is designed to be compact and efficient to serialize and deserialize.
XML The serialized format is opaque. It is designed to be compact and efficient to serialize and deserialize.
JSON The serialized format is the text string that represents the JSON data, and it is equivalent to the transformed value (FromSQL/ToSQL) of the JSON data type.