Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to drop a materialized view due to contraints

jamie2teachFeb 4 2009 — edited Feb 4 2009
Hi to all

I am trying to drop a MV on my database and have successfully deleted the remaining MV's but am having some problems with this one MV. The error I get is an obvious one but frustrating none the less. The error is as follows:

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

So, I have looked at the MV and see if it has and unique/primary key constraints. The only thing referenced is the PK_KEY for the table when running the following query;

select * from user_constraints where table_name='ORDER_ITEMS';

Can anyone point me in the right direction.

Regards to all that reply.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2009
Added on Feb 4 2009
1 comment
548 views