Microsecond Granularity for Time Data

Adaptive Server ODBC Driver 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, the Adaptive Server ODBC Driver 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 the Adaptive Server ODBC Driver to fit the 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 Server ODBC Driver transfers data using the datetime and time datatypes.