第一步:
先把主键去掉,然后再把涉及这列的索引删掉在进行操作。否则会报错
alter table 表名 drop column 列名
第二步
alter table 表名 add 列名 int identity(1,1)