My Oracle Support Banner

ORA-28500 - 'TO_NUMBER' Is Not A Recognized Built-in Function Name.{42000,NativeErr = 195}[Oracle] Using DG4MSQL (Doc ID 1479990.1)

Last updated on OCTOBER 17, 2019

Applies to:

Oracle Database Gateway for SQL Server - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Using Oracle Database Gateway for SQL*Server (DG4MSQL) version 11.2.0.x running on a Windows 64 bit platform , the following error occurs when issuing a sql statement from an Oracle 11.2.0.3 server running on Solaris 64 bit platform.

 Error] Execution (5: 14): ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][SQL Server]'xxxxx' is not a recognized built-in function name. {42000,NativeErr = 195}[Oracle][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. {42000,NativeErr = 8180}
ORA-02063: preceding 2 lines from DBLINK

 where 'xxxxx' is any function like TO_DATE, TO_NUMBER , NVL etc

In addition these other issues can happen -

(1) 'Describe' of a SQL Server table shows all datatypes to be varchar even though they are not
(2) Some data being returned where printed in raw format or non legible characters

 

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
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.