"Violation of PRIMARY KEY Constraint 'pk_prmaudit'. Cannot Insert Duplicate Key in Object 'dbo.PRMAUDIT'." With Native Auditing Enabled
(Doc ID 2093993.1)
Last updated on MARCH 22, 2022
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 15.2.0.0 to 15.2.2.0 [Release 15.2]Information in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
---------------
When upgrading an EPPM database to 15.2.0.0 while native auditing is enabled and
with auditing enabled on the PREFER table, the prefer table won't get updated.
When the following statement is executed:
update prefer set database_version='PMDB,1520.0001.0001.0014'
The following error is observed:
Msg 2627, Level 14, State 1, Procedure PRMAUD_PREFER, Line 369
Violation of PRIMARY KEY constraint 'pk_prmaudit'. Cannot insert duplicate
key in object 'dbo.PRMAUDIT'. The duplicate key value is (2).
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |