An explicit value for the identity column in table 'Table' can only be specified when a column list is used and IDENTITY_INSERT is ON

前端 未结 3 1935
一整个雨季
一整个雨季 2021-01-25 14:52

Does someone know what this error (An explicit value for the identity column in table \'HD_AANVRAAG_FASE\' can only be specified when a column list is used and IDENTITY_INSERT

3条回答
  •  滥情空心
    2021-01-25 15:17

    Your code contains

    SET IDENTITY_INSERT HD_AANVRAAG_FASE OFF at the end

    But not a corresponding

    SET IDENTITY_INSERT HD_AANVRAAG_FASE ON at the start

    why are you explicitly inserting these any way? Is it a synchronization task?

提交回复
热议问题