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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IDENTITY_INSERT is set to OFF

Status
Not open for further replies.

Richey

Technical User
Aug 29, 2000
121
0
0
GB
Hi

I'm using a 3rd party software package and doing an insert with 2 columns (neither are identity columns but just numeric) the identity column is columnID (primary key int(4))

the insert statement is

Code:
ExecQuery_X "CONN_Z","00010::insert into tblComplaint_ISB (crmCallID,CustomerID) Values 
(?,?)",array(adNumeric,5,Request("CustID"),adNumeric,5,Request("CustID"))

yet i get the following error message, despite the fact I havn't explicity named the identity column in my insert statement ?

any ideas
thanks

error
-----
Cannot insert explicit value for identity column in table 'tblComplaint_ISB' when IDENTITY_INSERT is set to OFF.
 
that is exactly what i am thinking.........
let me guess, they can do it for us at a cost !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top