此时应该是先删除自增记录为1的记录,然后再执行下面的sql语句
SET IDENTITY_INSERT [Agreement_Product] ON
INSERT INTO [tableName]([id],[Name]) VALUES (1,'测试')
GO
SET IDENTITY_INSERT [Agreement_Product] OFF
此时应该是先删除自增记录为1的记录,然后再执行下面的sql语句
SET IDENTITY_INSERT [Agreement_Product] ON
INSERT INTO [tableName]([id],[Name]) VALUES (1,'测试')
GO
SET IDENTITY_INSERT [Agreement_Product] OFF