Inserting and Retrieving UDTs with Client Products - Parallel Transporter

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.20
Published
November 2020
Language
English (United States)
Last Update
2020-11-19
dita:mapPath
whl1527114222314.ditamap
dita:ditavalPath
whl1527114222314.ditaval
dita:id
B035-2436
lifecycle
previous
Product Category
Teradata Tools and Utilities

A UDT can only exist on the Teradata Database. Each UDT has an associated “from-sql routine” and “to-sql routine”.

  • The “to-sql routine” constructs a UDT value from a pre-defined type value. The “to-sql routine” is automatically invoked when inserting values from a client system into a UDT on the Teradata Database server.
  • The “from-sql routine” generates a pre-defined type value from a UDT. The “from-sql routine” is automatically invoked when a UDT is retrieved from the Teradata Database server to a client system.