orm icon indicating copy to clipboard operation
orm copied to clipboard

[MSSQL] Cannot insert explicit value for autoincrement column when IDENTITY_INSERT is set to OFF

Open roxblnfk opened this issue 4 years ago • 0 comments

In this case before inserting entity in the table we should exec 'SET IDENTITY_INSERT table ON' (without ;)

roxblnfk avatar Mar 17 '21 15:03 roxblnfk