15.10 - Example: Order Mapping for a UDT using a Method - 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 following order mapping definition for a UDT named circle uses the method named compare_circ(), which is also associated with the circle UDT.

    CREATE ORDERING FOR circle
    ORDER FULL BY MAP WITH METHOD compare_circ() FOR circle;