Database Gateway For SQL*Server (DG4MSQL) Gives Error ORA-28500 When NVL Function Is Used (Doc ID 987762.1)

Last updated on JULY 13, 2011

Applies to:

Oracle Database Gateway for SQL Server - Version: 11.1.0.7 to 11.1.0.7 - Release: 11.1 to 11.1
Information in this document applies to any platform.
***Checked for relevance on 13-Jul-2011***

Symptoms


You are using Database Gateway for SQL*Server (DG4MSQL) 11.1.0.7. 
While trying to run a SQL query from two different version 10.2.0.4 Oracle databases installed on 64-bit Linux, the query from database 1 does not work while the query from database 2 works.

SELECT NVL("SalesCode",'All Sales') mbr_info FROM db1.information@infolink;


The following error occurs on the failing database:

ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][SQL Server]'NVL' is not a recognized built-in function name.
ORA-02063: preceding 2 lines from INFOLINK

On the working database records are successfully returned.

Changes

No known changes.

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