My Oracle Support Banner

Passing a CLOB to DBMS_SQL.PARSE With Versions May Fails With: ORA-06502: PL/SQL Numeric Or Value Error When the Database Characterset is Unicode (Doc ID 1201013.1)

Last updated on JANUARY 30, 2022

Applies to:

PL/SQL - Version 10.2.0.4 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

Symptoms

Passing a clob to DBMS_SQL.PARSE where there is no version of the function which takes a clob parameter, results in ORA-6502 when the database is unicode and the clob is greater than 8K in length but less than the varchar2 limit of 32K.

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
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.