My Oracle Support Banner

Can Not Insert More Than 4k Into CLOB Column With DBMS_SQL (Doc ID 160885.1)

Last updated on FEBRUARY 01, 2022

Applies to:

PL/SQL - Version 10.2.0.1 and later
Information in this document applies to any platform.
 


Symptoms

If you are using DBMS_SQL and attempting to insert a literal value of more than 4000 characters in an INSERT statement

It will fail with the following error:

ORA-01704: string literal too long

Changes

 

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
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.