Re: Can a foreign key refer to a table in another DB?
Thanks, Peter,
Yes I did, but from MySQL Workbench. I created a table in a new DB with such a constraint, which resulted in rather lame error message: "Error Code: 1215. Cannot add foreign key constraint".
Only when I commented out the clause the action succeeded. So it must be another problem.
Regards,
Meir
Subject
Written By
Posted
Re: Can a foreign key refer to a table in another DB?
April 20, 2016 03:17PM
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.