Cannot insert explicit value for identity column in table ‘table’ when IDENTITY_INSERT is set to OFF

Posted by Derek D. on SQL Server Planet See other posts from SQL Server Planet or by Derek D.
Published on Sun, 10 Jan 2010 18:30:39 +0000 Indexed on 2010/03/23 2:42 UTC
Read the original article Hit count: 771

Filed under:
This error occurs when trying to insert into a column containing an identity. An Identity column is not able to be inserted into without the use of a special command mentioned below. Identity columns are columns that automatically increment when a value is inserted into a row. They are commonly used [...]

© SQL Server Planet or respective owner

Related posts about SQL Server