Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has anyone gotten 'Cannot insert explicit value for identity column

Status
Not open for further replies.

knetling

Programmer
Aug 14, 2003
1
US
I'm getting the error 'Cannot insert explicit value for identity column in table ... when IDENTITY_INSERT is set to off.

Does anyone know how to set it to on????
 
SET Indentity_INSERT MyTable ON

<<INSERT STATEMENY>>

SET Indentity_INSERT MyTable OFF


&quot;Shoot Me! Shoot Me NOW!!!&quot;
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top