MySQL Forums
Forum List  »  InnoDB

Re: add foreign key that ref's column in same table
Posted by: Peter Brawley
Date: January 01, 2016 12:37PM

1. You can't re-use the name 'fkparentID'.

2. Foreign key column types must match exactly but your proposed key cols don't: one is signed, one unsigned.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: add foreign key that ref's column in same table
1789
January 01, 2016 12:37PM


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.