lang110 发表于 2016-10-21 09:06:19

mysql将主键设置成自动增长

  alter table table_name change id id int(11) auto_increment;
  将表table_name中的主键ID设置成自动增长列。
页: [1]
查看完整版本: mysql将主键设置成自动增长