My Oracle Support Banner

Wrong result from distributed query having an inlist of rowid's and multibyte characterset (Doc ID 2012718.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Following example produces incorrect result:

with vals as
(select rowidtochar(rowid) rid
from test@to_remote
where rowid in ('&rowid1','&rowid2','&rowid3','&rowid4'))
select * from vals
union all
select '1' from dual;

1 row is returned while 4 rows are expected


Wrong results from distributed query


Upgrade to from


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

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