16.20 - FUNCTION function_name - 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 name of the function.

data_type
Data type list that maps the UDT to a predefined data type value so it can be compared.

Example: Order Mapping for a UDT using a UDF

The following order mapping definition for a UDT named rectangle uses the UDF named compare_rect().

    CREATE ORDERING FOR rectangle
    ORDER FULL BY MAP WITH FUNCTION compare_rect();