My Oracle Support Banner

Alter Table Truncate Partition with Cascade Clause Fails With ORA-02266 (Doc ID 3040825.1)

Last updated on AUGUST 17, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

ORA-02266 is raised when attempting to truncate partition of a table having foreign key constraints with the CASCADE clause .

 SQL> alter table <table name> truncate partition <partition name> cascade;

 

The foreign keys are created with "on delete cascade" option, but this operation was still not possible.

 

Changes

 No

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.