My Oracle Support Banner

Error Ora-28528 Selecting a Timestamp Column using DG4MSQL and RDBMS (Doc ID 1293324.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database Gateway for SQL Server - Version to [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 31-Aug-2012***


Using Database Gateway for SQL*Server (DG4MSQL) connecting Microsoft Sql*Server 2008 R2 from RDBMS
Executing a select returns an ORA-28528 error when a SQL*Server timestamp column is in the select. If the timestamp column is not in the select then it runs okay.
On SQL*Server create a table -

CREATE TABLE Gateway_Test(
[timestamp] timestamp NULL,
[dummy] nvarchar(50) NULL

From Oracle -

SQL> select * from "owner"."Gateway_Test"@dg4msql;
ORA-28528: Heterogeneous Services datatype conversion error
ORA-02063: preceding line from DG4MSQL

no rows selected

but the following works -

SQL> select "dummy" from "owner"."Gateway_Test"@dg4msql;




To view full details, 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 a vibrant support community of peers and Oracle experts.