自增列不能直接修改,必须将原有ID列删除,然后重新添加一列具有identity属性的ID字段。比如你要修改的字段名为ID:alter table 表名 drop column IDalter table 表名 add ID int identity(1,1)