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 AUGUST 09, 2014

Applies to:

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


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

 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



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