Inserting a clob with length greater than 8192 with utl_file.put(); gets ORA-06502
(Doc ID 760144.1)
Last updated on NOVEMBER 20, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 to 18.104.22.168 [Release 10.1 to 11.1]
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
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
This problem can occur on any platform.
Oracle Server Enterprise Edition - Version: 10.1.0.2 to 22.214.171.124
If the clob (mymol) size is bigger than 8192, you will get the following error:
ORA-06502: PL/SQL: numeric or value error
Characterset changed from WEIS8859P1 to AL32UTF8.
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