MySQL Forums
Forum List  »  Newbie

Re: Primary key for referee table.
Posted by: Rick James
Date: November 29, 2010 09:31PM

Sure, have
UNIQUE(rname, rnationality, rposition, rDateOfBirdth)
and check for error after the INSERT.

Or you could do INSERT IGNORE.

Options: ReplyQuote


Subject
Written By
Posted
Re: Primary key for referee table.
November 29, 2010 09:31PM


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.