Error 'Alter table drop column failed because column 'audit_info_extended' does not exist in table 'SPIDMAP'' When Upgrading From 8.3.2 to 16.2 or later
(Doc ID 2222029.1)
Last updated on MARCH 22, 2022
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 8.3.2.0 and laterInformation in this document applies to any platform.
Symptoms
When upgrading from 8.3.2 to 16.2 the following error occurs:
ALTER TABLE DROP COLUMN failed because column 'audit_info_extended' does not exist in table 'SPIDMAP'.SQL Query:
declare @default_name varchar(255)
declare @col_name varchar(255)
select @default_name =name from sys.default_constraints where
parent_object_id=object_id('SPIDMAP') and
col_name(parent_object_id,parent_column_id)='audit_info_extended'
if @default_name is not null
exec ('alter table dbo.SPIDMAP drop constraint '+@default_name)
ALTER TABLE SPIDMAP drop column audit_info_extended
The issue can be reproduced at will using the following steps
- Run 'dbsetup.cmd'.
- Enter the database connection information.
- Click 'Yes' to upgrade.
- Note the reported issue.
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 |