17.10 - setBaseNumFractionalDigits(short) - 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)

Sets the fractional digits value for the base type of the UDT or complex type. This value corresponds to the value n in a DECIMAL(m,n) base type; otherwise it is set to zero.

The method throws SQLException if an error occurs while attempting to set the fractional digits value. A database specific code “9744 (ERRUDFJAVUDT) <UDT base fractional digits could not be set>” is returned.

Syntax

void setBaseNumFractionalDigits(short  numFractionalDigits)
                       throws SQLException