Page 1 of 1

Cannot insert explicit value for identity column in table

Posted: Thu Sep 30, 2010 10:49 pm
by jpraveen
Hi

when iam inserting the data in the table i am getting the error as shown below

APT_CombinedOperatorController,0: [IBM(DataDirect OEM)][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'Table_Name'when IDENTITY_INSERT is set to OFF.

for the table we had select ,delete,update and insert previlages,
so how to resolve it?

Posted: Fri Oct 01, 2010 4:01 am
by nitkuar
Are you trying to insert values in identity column? Could you please check your table's ddl script.

Posted: Fri Oct 01, 2010 5:34 am
by chulett
Talk to your DBA. That or stop trying to insert explicit values into the IDENTITY column. :wink: