When SQLSEVER just built a table's primary key increment

alter table 表名 drop column ID
alter table 表名 add ID int identity(1,1)

Guess you like

Origin www.cnblogs.com/dosoftwarey/p/11697463.html