In 11.2.0.2 Query With Substring Through Db Link To Ms Sql Gives Ora-02063 Error (Doc ID 1377278.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database Gateway for SQL Server - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

Select via database gateway for SQL Server 11.2.0.2 using a substr against CHAR datatype results with 

ORA-28500: connection from ORACLE to a non-Oracle system returned this  message: 
[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Argument  data type void type is invalid for argument 1 of substring function.  {HY000,NativeErr = 8116} 

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