'Declaration Public Property MaxDecimalPrecision As Byte
'Usage Dim instance As TdConnectionStringBuilder Dim value As Byte instance.MaxDecimalPrecision = value value = instance.MaxDecimalPrecision
public byte MaxDecimalPrecision {get; set;}
'Declaration Public Property MaxDecimalPrecision As Byte
'Usage Dim instance As TdConnectionStringBuilder Dim value As Byte instance.MaxDecimalPrecision = value value = instance.MaxDecimalPrecision
public byte MaxDecimalPrecision {get; set;}
When this attribute is set by an application, Decimal data that is retrieved from Teradata cannot have a precision greater than the specified value.
Teradata V2R6.2 and above support decimal precision up to 38. Versions below V2R6.2 only can support a precision up to 18.
When a connection is going to be made to a V2R6.2 or above version of Teradata the MaxDecimalPrecision can be set to any value between 18 and 38.
When a connection is made to a a version that is below V2R6.2, the MaxDecimalPrecision is ignored. In this situation, the maximum precision of Decimal data that is retrieved is 18.
Default Value: 38
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |