Alter a table column with auto increment by 1 in derby

后端 未结 7 1590
囚心锁ツ
囚心锁ツ 2021-01-11 18:21

I have created a table in derby Netbeans and now i realize that i need to make a column as auto incremented by 1 which is a primary key. How can i do so? I

7条回答
  •  无人及你
    2021-01-11 18:55

    I have found an alternate solution, i dropped the column from the database (thanks vels4j) added the column once again from the netbeans derby UI as shown below:

    enter image description here

提交回复
热议问题