How to fix the Oracle error ORA-01704: string literal too long?

In this post, you’ll learn more about the Oracle ErrorORA-01704: string literal too long with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-01704: string literal too long

Reason for the Error ORA-01704: string literal too long

The string literal is longer than 4000 characters.

How to fix the Error ORA-01704: string literal too long ?

You can fix this error in Oracle by following the below steps

Use a string literal of at most 4000 characters. Longer values may only be entered using bind variables.

Tags :

Leave Your Comment