Home / Oracle Errors / ORA-01403

ORA-01403

No data found

What it means

A SELECT INTO in PL/SQL returned no rows.

Common causes

How to fix it

  1. Wrap the SELECT INTO in a block with EXCEPTION WHEN NO_DATA_FOUND THEN ...
  2. Or use an aggregate such as MAX so one row always returns
  3. Confirm the data should exist

How to prevent it

Always handle NO_DATA_FOUND explicitly.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.