Microsecond Granularity for Time Data

The Adaptive Server ADO.NET Data Provider provides microsecond-level precision for time data by supporting the SQL datatypes bigdatetime and bigtime.

bigdatetime and bigtime function similarly to and have the same data mappings as the SQL datetime and time datatypes:

Usage

  • When connecting to Adaptive Server 15.5 and later, the Adaptive Server ADO.NET Data Provider transfers data using the bigdatetime and bigtime datatypes even if the receiving Adaptive Server columns are defined as datetime and time.

    This means that Adaptive Server may silently truncate the values from Adaptive Server ADO.NET Data Provider to fit Adaptive Server columns. For example, a bigtime value of 23:59:59.999999 is saved as 23:59:59.996 in an Adaptive Server column with datatype time.

  • When connecting to Adaptive Server 15.0.x and earlier, the Adaptive ADO.NET Data Provider transfers data using the datetime and time datatypes.