FitHighPrecisionType IBM data server driver configuration keyword
Gets or sets a value
that indicates how the IBM® data
server provider for .NET converts the high precision data to the .NET
system types. The high precision data includes Decfloat, Timestamp,
and Timestamp with Time Zone data.
- Equivalent CLI keyword
- Not Available.
- Equivalent IBM data server provider for .NET connection string keyword
- FitHighPrecisionType
- IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="FitHighPrecisionType" value="WithTruncate | AsString | ReturnException"/>
- Default setting:
- None
- Usage notes:
- The FitHighPrecisionType keyword can be set
to one of the following values.
- WithTruncate
- Data is returned as a .NET system type that is the same as the type that is returned by the DB2DataReader.GetValue method on the column data. If the data is larger than the .NET system type, the data is truncated without any message.
- AsString
- Data is returned as a .NET string type. The data is the same as that are returned by the DB2DataReader.GetString method.
- ReturnException
- Data is returned as a .NET system type that is the same as the type that is returned by the DB2DataReader.GetValue method on the column data. If the data is larger than the .NET system type, a truncation exception is returned.