Selecting NCHAR/NVARCHAR Using DG4ODBC Adds a Space/Blank to Every Character

(Doc ID 1072796.1)

Last updated on MAY 27, 2013

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 27-May-2013***


Executing a select fetching foreign database nchar/nvarchar characters might display an additional space between the characters. A dump is showing the spaces as 0 bytes. For example:

SQL> select distinct("ENAME"), dump("ENAME") from "emp"@mysql_32 where "EMPNO"=7839;

----------        --------------------------------------------------------------------------------
K I N G          Typ=1 Len=16: 0,75,0,0,0,73,0,0,0,78,0,0,0,71,0,0


Upgrade to DG4ODBC 11g.


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