Instance Method for a Distinct Type | UDM Code Examples | Teradata Vantage - 17.10 - Instance Method for a Distinct Type - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

This example shows the C code for a toInches instance method associated with a meter distinct UDT. The toInches instance method takes the meter value and returns the equivalent number of inches.