My Oracle Support Banner

ORA-01406 or ORA-06502 in PLSQL when querying data in (AL32)UTF8 db from remote non-UTF8 db using cursor (Doc ID 269381.1)

Last updated on FEBRUARY 19, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 9.0.1.0 and later
Oracle Database - Standard Edition - Version 9.0.1.0 and later
Oracle Database Cloud Schema 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 02-Sep-2016***
Information in this document applies to any platform.

Purpose

Document the reason and solution when encountering ORA-01406 or ORA-06502 in PLSQL querying data in (AL32)UTF8 db from remote non-UTF8 db (WE8ISO8859P1, WE8MSWIN1252 etc) using a cursor on some rows containing "extended characters".
Wich means characters other then these:

Scope

Anyone interfacing between a non-(AL32)UTF8 and an (AL32)UTF8 database.

Details

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
Purpose
Scope
Details
 Needed conditions:
 Explanation:
 Solution:
 Example code to illustrate the issue:
References

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