Greetings,
I am having trouble deleting two tables in my database due to a foreign key.
How do I find and key the foreign key? I’ve never seen this problem before. Thanks.
Greetings,
I am having trouble deleting two tables in my database due to a foreign key.
How do I find and key the foreign key? I’ve never seen this problem before. Thanks.
Just keep trying to drop those two+ tables over and over again. That should get you past the foreign key issue.
Find the same row name in the other table.
So
Users: ID – primary key.
Posts: user_id -> foreign key.
Try and find that, or do as DB taker said. I believe you have to remove the primary key first before the foreign key (or the other way around).
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.