Date, Time, Datetime, and Timestamp Data Types

Although Adaptive Server Enterprise, SQL Anywhere and SAP Sybase IQ all support some form of date and time data, there are some differences.

Display formats for dates have different defaults:

Time conversions are as follows:
When you insert a time into a DATETIME column:

TIME and DATETIME values retrieved from an Adaptive Server Enterprise database change when inserted into a SAP Sybase IQ table with a DATETIME column using INSERT…LOCATION. The INSERT…LOCATION statement uses Open Client, which has a DATETIME precision of 1/300 of a second.

For example, assume that the following value is stored in a table column in an Adaptive Server Enterprise database:
2004-11-08 10:37:22.823
When you retrieve and store it in a SAP Sybase IQ table using INSERT...LOCATION, the value becomes:
2004-11-08 10:37:22.823333