EXCHANGE PARTITION Results In ORA-01407: Cannot Update ("SYS"."HIST_HEAD$"."COL#") To NULL
(Doc ID 1677855.1)
Last updated on FEBRUARY 22, 2019
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
ALTER TABLE <table_name> EXCHANGE PARTITION <partition_name> WITH TABLE <exchange table> INCLUDING INDEXES WITHOUT VALIDATION ;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01407: cannot update ("SYS"."HIST_HEAD$"."COL#") to NULL
A 10046 trace of the exchange statement showed this was the failing statement:
The table had had a hidden column added at some point, so primary key could be added to do a redefinition. Although the hidden column was not 100% confirmed as the cause of the corruption in hist_head$, it was suspect.
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