skip to main content
Connection Option Descriptions : Decimal Scale
  

Try DataDirect Drivers Now

Decimal Scale

Attribute

DecimalScale (DS)

Purpose

Specifies the maximum scale reported for Decimal columns in column and result-set metadata. This option allows you to set the scale for Decimal columns when using an application that does not support unbounded data types.

Valid Values

x
where:
x
is an integer greater than 0 (zero).

Default

10

Notes

*The value specified for this option cannot exceed the setting of the Decimal Precision connection option; otherwise, an error is returned when attempting to establish a connection.
*In most scenarios, an error is returned if the scale of a Decimal value specified in a statement exceeds the scale determined by this option. However, when executing a Select statement, the driver will return data containing values that have a scale larger than that specified by this option.

GUI Tab

Schema Map tab

See Also

*Decimal Precision