ORA Error ReferenceSearch errors

All errors › ORA errors

ORA-38104: Columns referenced in the ON Clause cannot be updated

What it means

MERGE ... WHEN MATCHED THEN UPDATE SET changes a column used in ON.

How to fix it

Remove that column from SET, or use a separate UPDATE.

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.