ORA Error ReferenceSearch errors

All errors › ORA errors

ORA-01489: Result of string concatenation is too long

What it means

A concatenation in SQL exceeds 4000 bytes (VARCHAR2 limit with STANDARD string size), often with LISTAGG or ||.

How to fix it

Use LISTAGG ... ON OVERFLOW TRUNCATE (12.2+), XMLAGG/JSON_ARRAYAGG with CLOB, or TO_CLOB on the first operand.

Catch it before it runs

ORA Error Helper
Explains ORA-/PLS- codes inside JetBrains IDEs and DataGrip.
PL/SQL Lint
Flags risky PL/SQL patterns while you type.
Oracle Plan Reader
Reads execution plans and points at the slow step.
PL/SQL in Practice
Kindle book with practical PL/SQL for working developers.

Nearby errors

Updated 2026-11-12.