自增主键强制修改: set identity_insert tableName on --在此范围内可以直接修改主键 set identity_insert tableName off tableName: 为表名 相关文章: