My Oracle Support Banner

EXCHANGE PARTITION Results In ORA-01407: Cannot Update ("SYS"."HIST_HEAD$"."COL#") To NULL (Doc ID 1677855.1)

Last updated on FEBRUARY 17, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

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:

 

Changes

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.

   

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
Changes
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.