MySQL Forums
Forum List  »  General

Re: Foreign key index on multiple columns
Posted by: Ken Gillett
Date: June 15, 2019 02:41AM

So, if your SQL code runs without error and creates the multi column index that can be used as the foreign key index, that confirms my idea is valid.

In which case, the reason I am not being allowed to do it has to be solely down to WorkBench which is preventing the user from creating a valid multi column index.

I can edit the SQL code WB generates when creating the table, but then there's a permanent discrepancy between the model and the server which will continue to be irritating.

I'll pose a question in the WB section to see if anyone can suggest a way around this WB limitation.


Options: ReplyQuote

Written By
Re: Foreign key index on multiple columns
June 15, 2019 02:41AM

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.