16.20 - CAST FROM - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

The result type returned by the external function that is to be converted to the type specified by the RETURNS clause.

Example:

  ...RETURNS DECIMAL(9,5) CAST FROM FLOAT...
data type
Whenever a LOB that requires data type conversion is passed to a method, the LOB must first be materialized for the conversion to take place.
UDT_name
Name of the UDT.
SYSUDTLIB
Optional containing database name, which is always SYSUDTLIB.