MySQL Forums
Forum List  »  Partitioning

Re: Foreign key constraints with partitioning
Posted by: Phil Hildebrand
Date: March 27, 2009 10:35PM

You can't really do that out of the box currently, but you can do it via triggers.

I put an example on my blog a while back here:

Essentially you use an insert and delete trigger to check the id's in the foreign table.

Options: ReplyQuote

Written By
Re: Foreign key constraints with partitioning
March 27, 2009 10:35PM

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.