只能在新建表,或者修改列时才能设置 create table tb(id int identity(1,1)) alert table tb add kid int identity(1,1) 如果是insert是不用赋值的