Error ORA-28500 {ZZZZZ,NativeErr = 156} Using Sybase ODBC Driver With DG4ODBC (Doc ID 2005717.1)

Last updated on MAY 06, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

After configuring the Database Gateway for ODBC (DG4ODBC) to connect to a Sybase Database using the native Sybase ODBC driver issuing a SELECT returns the following error:

SQL> select * from "sysobjects"@SYBODBC;
select * from "sysobjects"@SYBODBC
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[SAP][ASE ODBC Driver][Adaptive Server Enterprise]Incorrect syntax near the
keyword 'where'.
{ZZZZZ,NativeErr = 156}
ORA-02063: preceding 3 lines from SYBODBC


The select statement works successfully when using isql to connect to the same Sybase database

Cause

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