--允許對系統(tǒng)表進行更新 exec sp_configure 'allow updates',1 reconfigure with override GO --取消標識列標記 update syscolumns set colstat = 0 where id = object_id('tablename') and colstat = 1 GO --插入id=8001-8003的行 --恢復(fù)標識列標記 update syscolumns set colstat = 1 where id = object_id('tablename') and name = '標識列名稱' --重新設(shè)置標識的起始值 DBCC CHECKIDENT (表名稱, RESEED, 10003) --禁止對系統(tǒng)表進行更新 exec sp_configure 'allow updates',0 reconfigure with override