创建表--自动编号字段且自增

create table table1
(
    num int identity(1,1) 
)

原文地址:https://www.cnblogs.com/hyshareex/p/5249684.html