My Oracle Support Banner

Selecting NCHAR/NVARCHAR Using DG4ODBC Adds a Space/Blank to Every Character (Doc ID 1072796.1)

Last updated on FEBRUARY 01, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 27-May-2013***

Symptoms

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;

ENAME         DUMP("ENAME")
----------        --------------------------------------------------------------------------------
K I N G          Typ=1 Len=16: 0,75,0,0,0,73,0,0,0,78,0,0,0,71,0,0

Changes

Upgrade to DG4ODBC 11g.

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
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.