How to Display Milliseconds Values From a SQL*Server DateTime Column Using DG4MSQL (Doc ID 1927533.1)

Last updated on JANUARY 13, 2015

Applies to:

Oracle Database Gateway for SQL Server - Version 11.2.0.4 and later
Oracle Database Gateway for DRDA - Version 11.2.0.4 and later
Information in this document applies to any platform.

Goal

 As per Oracle documentation during datatype conversion for SQL*Server datetime columns when selected using the Database Gateway for SQL*Server (DG4MSQL) the fractional parts of a second are truncated.

http://docs.oracle.com/cd/E11882_01/gateways.112/e12069/apa.htm#GMSWN400

This note talks about how to workaround that.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms