MySQL Forums
Forum List  »  Newbie

Re: why is this not working?
Posted by: Rick James
Date: January 29, 2013 07:40PM

> I can't use AUTO_INCREMENT because nr is not Key

ALTER TABLE foo ADD INDEX(nr);

Solutions to database problems sometimes must be done via schema changes, sometimes via query changes.

Options: ReplyQuote


Subject
Written By
Posted
January 28, 2013 03:36PM
January 29, 2013 12:55AM
January 29, 2013 06:35AM
Re: why is this not working?
January 29, 2013 07:40PM
January 29, 2013 07:42PM


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.