Vantage supports the following UDT Types.
| UDT Type | Description | Example |
|---|---|---|
| Distinct |
|
UDT named euro based on DECIMAL(8,2) data type, for storing monetary data. |
| Structured |
|
UDT named circle with x-coordinate, y-coordinate, and radius attributes. |
| Dynamic |
|
Distinct and structured UDTs can define methods that operate on the UDT. For example, a distinct UDT named euro can define a method that converts the value to a US dollar amount. Similarly, a structured UDT named circle can define a method that computes the area of the circle using the radius attribute.