Cannot insert explicit value for identity column in table

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jpraveen
Participant
Posts: 71
Joined: Sat Jun 06, 2009 7:10 am
Location: HYD

Cannot insert explicit value for identity column in table

Post 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?
Jaypee
nitkuar
Participant
Posts: 46
Joined: Mon Jun 23, 2008 3:09 am

Post by nitkuar »

Are you trying to insert values in identity column? Could you please check your table's ddl script.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Talk to your DBA. That or stop trying to insert explicit values into the IDENTITY column. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply