MySQL Forums :: Partitioning :: Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails


Advanced Search

Re: Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails
Posted by: Rick James ()
Date: December 17, 2015 01:01PM

You cannot have FOREIGN KEYs on a PARTITIONed table. Period.

Please show us SHOW CREATE TABLE (as it was) and explain what changes you are trying to make.

Options: ReplyQuote


Subject Views Written By Posted
Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails 1836 MONU VERMA 11/20/2015 07:45AM
Re: Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails 1105 Rick James 12/17/2015 01:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.