mysql 修改某一列为自增

示例:

[pcsh lang="sql" tab_size="4" message="" hl_lines="" provider="manual"]

alter table `tp_user` change `id` `id` bigint (20) UNSIGNED NOT NULL AUTO_INCREMENT ,
add primary key (`id` );

[/pcsh]

 

此处评论已关闭