Millisecond support for Timestamp property for ECDA for Oracle

New Features Enterprise Connect™ Data Access 12.6 for Microsoft Windows and UNIX

Date and Time datatype support for ECDA for Oracle

Sybase date and time datatypes are now supported in ECDA for Oracle previously known as DirectConnect for Oracle (DCO). The following sections describe how DCO supports the new datatypes:

For additional information refer to the ECDA Option for Oracle Server Administration and User’s Guide.

Datatype mapping

Oracle currently provides two date/time datatypes, Oracle DATE and Oracle TIMESTAMP:

Incoming data

Cursor and dynamic statement parameter data for Sybase DATE and TIME datatypes are con­verted to the proper Oracle datatype. The Sybase TIME data destined for an Oracle TIMESTAMP column is converted based on the setting of the timestamp_ms_support parameter. Incoming language statements with literal string data that is destined for either an Oracle DATE or TIMESTAMP column must conform to the format defined by the date_format and timestamp_format configuration settings. This implies that column data coming from a Sybase DATE column must include a default time of 12:00:00AM, in addition to the date value. The column data coming from a Sybase TIME column must include a default date of Jan 1 1900 in addi­tion to the time value. Incoming RPC statements with Sybase DATE or TIME literal string parameters must format the literal string.

Outgoing data

Data being retrieved from both Oracle DATE and TIMESTAMP is returned to the application as a date/time datatype.





Copyright © 2005. Sybase Inc. All rights reserved. Millisecond support for Timestamp property for ECDA for Oracle

View this release bulletin as PDF