My Oracle Support Banner

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

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.