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 to [Release 10.2]
Information in this document applies to any platform.


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.


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.