ORA-02449: unique/primary keys in table referenced by foreign keys

I try to drop a tablespace with dependent objects but get below error

SQL> !oerr ora 02449
02449, 00000, "unique/primary keys in table referenced by foreign keys"
// *Cause: An attempt was made to drop a table with unique or
//         primary keys referenced by foreign keys in another table.
// *Action: Before performing the above operations the table, drop the
//          foreign key constraints in other tables. You can see what
//          constraints are referencing a table by issuing the following
//          command:


include cascade constraints option to drop the dependent objects!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s