Last updated on FEBRUARY 17, 2016
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 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.
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