Unicode support  Date and time datatype support for DirectConnect for Oracle

Chapter 3: Reference Topics for Oracle

Millisecond support for Timestamp property for DirectConnect for Oracle

Two configuration parameters, timestamp_ms_support and timestamp_format, are available to allow the DCO to insert, update, delete, and select Sybase DATETIME datatypes with the millisecond por­tion mapped to an Oracle TIMESTAMP column. The following sections describe the parameters and their use.


Timestamp_ms_support parameter

Specifies the value of the timestamp_ms_support parameter.

Configuration parameter

timestamp_ms_support

Value

0 is off (default). 1 is on.


Timestamp_format parameter

Specifies the Oracle timestamp format to be used by non-ASE clients.

Configuration parameter

timestamp_format

Value

MON DD YYYY HH:MM:SSAM (default) provides the date and time in seconds, and the milliseconds portion contains 000 (zeros). MON DD YYYY HH:MS:SS.FFAM provides the date and time in milliseconds.


Using the new parameters

When you use the new configuration parameter timestamp_ms_support, consider the following conditions:

DCO 12.6 interoperates with ASE/CIS

When DCO 12.6 interoperates with ASE/CIS, the version must be 12.5.1 ESD#2 or later to use the timestamp_ms_support configuration option. This is due to changes that were made in ASE/CIS 12.5.1.

DCO 12.6 interoperates with other applications

When DCO 12.6 interoperates with an application other than ASE/CIS, the timestamp_format configuration setting must include the milliseconds (...SS.FF) if the millisecond portion of the time is desired, and the timestamp_ms_support parameter must be equal to 1.





Copyright © 2005. Sybase Inc. All rights reserved. Date and time datatype support for DirectConnect for Oracle

View this book as PDF