用法: create table tableName( Id int identity, name varchar(10) ) 注:identity属性使用的对象类型得为int类型,若列名为字符类型则不能使用此属性自增## sql server 中设置列名自增的功能