Query Using TG4MSQL Seems To Hang; NCHAR/NVARCHAR Column Mapping Causes WHERE Stripped Off (Doc ID 456400.1)

Last updated on DECEMBER 03, 2014

Applies to:

Oracle Database Gateway for SQL Server - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.
Oracle Transparent Gateway for Microsoft SQL Server - Version: 10.2.0.1.0 to 10.2.0.5.0


Symptoms

Querying a SQLServer table using the Transparent Gateway for SQL Server 10.2  hangs using the following simple query:

SQL> select "UserName" from "Customer"@WDPRODM.MSSQL where "UserName" = 'csavory@gmail.com'



However following query on the same table returns  results quickly:

SQL> select "UserName" from "Customer"@WDPRODM.MSSQL where rownum <= 10



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