MySQL Forums
Forum List  »  Newbie

Re: error command line alter column to include auto_increment
Posted by: Peter Brawley
Date: September 16, 2020 12:22PM

ALTER TABLE staff MODIFY COLUMN staffid SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT;

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.