sqlserver 为表添加一个自增主键

alter table person add id int primary key identity(1,1) not null

原文地址:https://www.cnblogs.com/jimaojin/p/8372122.html