Non-Oracle Varchar(2000) Column Returned as a LONG Using DG4ODBC With a Unicode RDBMS
Last updated on JANUARY 18, 2017
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 11.2]
Oracle Database Gateway for SQL Server - Version 22.214.171.124 to 126.96.36.199 [Release 12.1]
Information in this document applies to any platform.
With the following setup -
Redhat Linux 4, 64-bit.
10.2.0.4 with character set US7ASCII
10.2.0.4 with character set UTF8
A select of a SQL*Server varchar(2000) column is returned as VARCHAR2 when selected from the US7ASCII RDBMS but as a LONG when selected from the UTF8 RDBMS.
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