My Oracle Support Banner

Ora-06502: "Numeric Or Value Error: Character String Buffer Too Small" from SQL Using DBMS_LOB.SUBSTR (Doc ID 567574.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
This problem can occur on any platform.

***Checked for relevance on 06-Jul-2017***


Returning a portion of a CLOB using DBMS_LOB.SUBSTR fails with:


To view full details, 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 a vibrant support community of peers and Oracle experts.