"Violation of PRIMARY KEY Constraint 'pk_prmaudit'. Cannot Insert Duplicate Key in Object 'dbo.PRMAUDIT'." With Native Auditing Enabled
Last updated on APRIL 11, 2017
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 18.104.22.168 to 22.214.171.124 [Release 15.2]
Information in this document applies to any platform.
When upgrading an EPPM database to 126.96.36.199 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).
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms