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

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