Troubleshooting
Problem
This technote explains why the error, "Cannot insert duplicate key row in object" occurs when using IBM® Rational® ClearQuest® Maintenance Tool to upgrade feature levels.
Symptom
When upgrading a user database from feature level 5 to 6, an error similar to the following may occur:
Reason(s) for failure: SQLExecute: RETCODE=-1, State=23000, Native Error=2601
SQL statement="insert into ratl_permission (id,version,schema_id,schema_rev,package_ownership,
policy_type_enum,granted,controlled_object_type_enum,
controlled_metadata_id,scoping_object_type_enum,
scoping_metadata_id) values (16780518,1,-1,0,0,2,1,2,0,2,0)"
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert duplicate key row in object 'dbo.ratl_permission' with unique index 'permission_id'.
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21315745