能不能给一个表自动添加一列数据,能自动编号??我的意思说我有个数据库中有个表,有很多项数据,能否用一条sql 语句添加一列ID,可以自动编号的,这样我就看出哪条数据是第几行?[解决办法]alter table table1 with nocheck add id int identity(1,1)[解决办法]alter table table1 with nocheck add id int identity(1,1)