My Oracle Support Banner

Sql With Table Function Fails With ORA-06502 while NLS_LENGTH_SEMANTICS As BYTE (Doc ID 3000002.1)

Last updated on FEBRUARY 01, 2024

Applies to:

PL/SQL - Version 19.17.0.0.0 and later
Information in this document applies to any platform.

Symptoms

ORA-6502 when selecting from a View which is calling a PL/SQL function and the return value is less than 4000 bytes.
Select is working fine with NLS_LENGTH_SEMANTICS as CHAR and failing with BYTE.

Changes

 None.

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.