Table does not have the identity property. Cannot perform SET operation.

Table   does not have the identity property. Cannot perform SET operation.

解决:   set IDENTITY_INSERT [你的表名] on  注释掉这句.

 

因为之前可能是自增的主键.现在不是自增的了…导致报错…

点赞