skip to main content
Connection Option Descriptions : Decimal Precision
  

Try DataDirect Drivers Now

Decimal Precision

Attribute

DecimalPrecision (DP)

Purpose

Specifies the precision reported for Decimal columns in column and result-set metadata. This option allows you to set the precision 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).

Notes

*The value specified for this option must be greater than or equal to the setting of the Decimal Scale connection option; otherwise, an error is returned when attempting to establish a connection.
*In most scenarios, an error is returned if the size of an Decimal value specified in a statement exceeds the precision determined by this option. However, when executing a Select statement, the driver will return data containing values that are larger than the specified precision.

Default

38

GUI Tab

Schema Map tab

See also

*Decimal Scale