MySQL Forums
Forum List  »  Partitioning

Re: How to ensure uniqueness of one column but partition by another key?
Posted by: Phil Hildebrand
Date: March 22, 2008 10:53PM

You could add a unique index on id, so that it would guarantee both that id is unique, and your partition key is part of the primary key.

Options: ReplyQuote




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.