dangerman2k
Programmer
Hi. We're having a major prob this morning. We're getting the following message on a number of different databases when trying to insert records:
Violation of PRIMARY KEY constraint 'PK__Results__res_id__23494814': Attempt to insert duplicate key in object 'Results'.
dbErrNo = 80040E14
dbNativeErr = 2627
dbSqlState = 23000
Clearing Errors, Rolling back and closing connection
Clearly SQL (6.5) is having a problem when adding rows to the table but the Primary Key contraint is constraining the Identity field which I'm not specifying in the INSERT statement.
Any ideas?
Thanks in advance
Dan
Violation of PRIMARY KEY constraint 'PK__Results__res_id__23494814': Attempt to insert duplicate key in object 'Results'.
dbErrNo = 80040E14
dbNativeErr = 2627
dbSqlState = 23000
Clearing Errors, Rolling back and closing connection
Clearly SQL (6.5) is having a problem when adding rows to the table but the Primary Key contraint is constraining the Identity field which I'm not specifying in the INSERT statement.
Any ideas?
Thanks in advance
Dan