SQL Server中获取数据库中自动增长字段的函数是什么

如题所述

查看某个表是否存在自动增长字段:
select * from syscolumns where id=object_id('表名') and columnproperty(id,name,'isidentyty')=1
温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-07-12
identity(int,1,1)
第2个回答  2012-07-12
identity
相似回答