MySQL Forums
Forum List  »  Newbie

Re: Can a foreign key refer to a table in another DB?
Posted by: Aqib Nazir
Date: April 30, 2016 02:51AM

Yes, a foreign key could off-course refer to a table in another database. You need to make sure that data types of source and destination column matches.

Aqib Nazir
http://aqibnazir.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Can a foreign key refer to a table in another DB?
April 30, 2016 02:51AM


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.