Author: Joyce Zhou
Symptom
When a user posts in APPS, an error message pops up stating 'Violation of PRIMARY KEY constraint.'
Resolution
This issue is related to a bug with SQL Server. You'll need to manually reset the identity column for the table with the issue.
First, use the following query to check the current identity value of the fact table stated in the message.
DBCC CHECKIDENT('TableName')
Then, reset the identity value to a number that is greater than the current value.
DBCC CHECKIDENT('TableName', RESEED, NewValue)
In order to mitigate this issue going forward, please apply the latest Cumulative Update to your SQL server.
Comments
0 comments
Please sign in to leave a comment.