15.10 - Example: Order Mapping for a UDT using a UDF - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)
Last Update
2018-06-05

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();