My Oracle Support Banner

DG4MSQL Returning NULL values for a Column Defined as Datetimeoffset Datatype (Doc ID 2997161.1)

Last updated on FEBRUARY 01, 2024

Applies to:

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

Symptoms

Oracle Database Gateway for SQL Server is returning null values for a column defined as datetimeoffset(x) in the SQL Server database.

For example:

create table <table_name> (col1 datetime2(7), col2 datetimeoffset(x))

select col1, col2 from <table_name>@<db_link>;

Col1                                                        Col2
---------------------------------------------------- -----------------------------
31-JAN-23 06.22.04.6940000 PM
31-JAN-23 06.37.25.1920000 PM
31-JAN-23 06.36.14.4050000 PM
31-JAN-23 07.00.44.7100000 PM

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.