15.10 - CAST FROM - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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

For example:

  ...RETURNS DECIMAL(9,5) CAST FROM FLOAT...

You cannot specify a character server data set of KANJI1. Otherwise, the system returns an error to the requestor.

Whenever a LOB that requires data type conversion is passed to a method, the LOB must first be materialized for the conversion to occur.