MySQL Forums
Forum List  »  MySQL Workbench

foreign keys in MySQLWorkbench
Posted by: Menoo Trogdor
Date: September 10, 2019 01:39PM

I'm trying to set up a foreign key in the table [tblPIRlog] (the field is called "UIDcompany"). The FK is a Primary Key in the table [tblmycompanies]. The PK field is called "UIDmycompany". When I try to Apply the change in MySQLWorkbench, I get the following error.

The tables look like this:

Options: ReplyQuote

Written By
foreign keys in MySQLWorkbench
September 10, 2019 01:39PM
September 10, 2019 04:34PM
September 11, 2019 09:01AM
September 11, 2019 10:01AM

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.