Home / Oracle Errors / ORA-02292

ORA-02292

Integrity constraint violated - child record found

What it means

You tried to delete a parent row that still has child rows.

Common causes

How to fix it

  1. Delete or move the child rows first
  2. Or define the foreign key with ON DELETE CASCADE if the business rule allows it

How to prevent it

Define the delete rule when designing the foreign key.

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.