SQLSEVER刚建表时主键自增

alter table 表名 drop column ID
alter table 表名 add ID int identity(1,1)
原文地址:https://www.cnblogs.com/dosoftwarey/p/11697463.html