My Oracle Support Banner

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

Last updated on JULY 16, 2019

Applies to:

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


Select via database gateway for SQL Server 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} 


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

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.