'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
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019