MySQL Forums
Forum List  »  Newbie

Re: how to add an auto-increment column to and other column
Posted by: Peter Brawley
Date: February 28, 2017 10:49AM

Since 5.7.6, as a calculated column, newId can be a derived column eg newid int AS (baseid+id), see the Create Table manual page.

Options: ReplyQuote


Subject
Written By
Posted
Re: how to add an auto-increment column to and other column
February 28, 2017 10:49AM


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.