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 DECEMBER 04, 2013

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.
***Checked for relevance on 04-Dec-2013***

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms