My Oracle Support Banner

Upgrading a P6 Database Using dbsetup.bat/dbsetup.sh to 22.12 the Error "Column 'proj_id' cannot be added to non-empty table 'DISCUSSION' because it does not satisfy these condition." Causes the Upgrade on MS SQL Server to Fail (Doc ID 2925597.1)

Last updated on FEBRUARY 26, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 22.12.1.0 and later
Information in this document applies to any platform.

Symptoms

Upgrading a P6 EPPM database on MS SQL Server from X to 22.12.x fails with:

ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'proj_id' cannot be added to non-empty table 'DISCUSSION' because it does not satisfy these condition.

[ERROR] Database Error: error number=4901

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.