By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,062 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,062 IT Pros & Developers. It's quick & easy.

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

P: 1
Is there any solution this oracle error without droping child table how we can drop parent table


please tell any solution for this error : ORA-02449: unique/primary keys in table referenced by foreign keys
Feb 12 '13 #1
Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,366
You have to drop the foreign keys first.
Feb 12 '13 #2

Expert 100+
P: 700
Expand|Select|Wrap|Line Numbers
  1. drop table parent cascade constraints;
  2.  
It will drop parent table and all foreign keys, which point to it.
Feb 13 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.