TruncateFractionalSeconds
- Last Updated: January 24, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Microsoft SQL Server 6.0
- Documentation
Purpose
Determines whether the driver truncates timestamp values to three fractional seconds. For example, a value of the datetime2 data type can have a maximum of seven fractional seconds.
Valid values
true | false
Behavior
If set to true, the driver truncates all timestamp values to three
fractional seconds.
If set to false, the driver does not truncate fractional seconds.
Data source method
public Boolean
getTruncateFractionalSeconds()
public void
setTruncateFractionalSeconds(Boolean)
Default
true
Data type
Boolean