My Oracle Support Banner

Instr Function Doesn'T Work In Dg4msql (Doc ID 860792.1)

Last updated on JULY 20, 2011

Applies to:

Oracle Database Gateway for SQL Server - Version: 11.1.0.6 and later   [Release: 11.1 and later ]
Information in this document applies to any platform.
Checked for relevance on 20-Jul-2011

Symptoms

-- Problem Statement:

A select with INSTR function like:
select * from "instring"@dg4msql where instr("col1",'a') >0;


fails with error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message:
[Oracle][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword
'IN'.[Oracle][ODBC SQL Server Driver][SQL Server]Statement(s) could not be
prepared.
ORA-02063: preceding 2 lines from DG4MSQL


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

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.