mysql自增主键用完了怎么办 如何设置mysql主键自动增长?
如何设置mysql主键自动增长?创建表时,设置主键自增长(主键必须是整数才能自增长):create table stu(SID int primary key auto)递增,sname,tvarch
如何设置mysql主键自动增长?
创建表时,设置主键自增长(主键必须是整数才能自增长):create table stu(SID int primary key auto)递增,sname,tvarchar(20),age,t,int,gender,tvarchar(10)xunset修改表时主键自增长:alter table stu change Sid int Auto璝Increment<删除修改表时主键自增长:alter table stu change Sid int