MySQL Forums
Forum List  »  Newbie

Re: constraint command when creating primary key ?
Posted by: Rick James
Date: January 28, 2015 02:43PM

If you are using the InnoDB engine, you should include the PRIMARY KEY when you CREATE the TABLE. Adding it later is costly.

Options: ReplyQuote


Subject
Written By
Posted
Re: constraint command when creating primary key ?
January 28, 2015 02:43PM


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.