METHOD - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

The name of the method to be used to convert a source UDT value to the target data type.

You cannot invoke an SQL UDF from a CREATE CAST or REPLACE CAST request.

method_name
A method associated with the specified UDT_name must exist with the same signature.
The method must satisfy the following conditions.
  • Associated UDT is the same as the source data type.
  • Declared parameter list is empty.
  • Result data type is the same as the target data type.
  • Must be deterministic.
If no method is found, an error is returned.
INSTANCE
The object is an instance method.
FOR UDT_name
The name of the UDT associated with method_name.