ORA Error ReferenceSearch errors

All errors › ORA errors

ORA-00949: Illegal reference to remote database

What it means

A database link was used where it is not allowed, for example in a constraint, an index definition or a DEFAULT.

How to fix it

Copy the data locally (materialized view) or move the logic out of the DDL.

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.