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

Last updated on JULY 05, 2017

Applies to:

PL/SQL
Information in this document applies to any platform.
Checked for relevance on 18-Aug-2009

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

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