Facing ORA-00001 Error When We Are Trying To Dropping Extended Stats
(Doc ID 2820245.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
Dropping extended statistics fails with ORA-00001.
SQL> exec dbms_stats.drop_extended_stats(ownname =>'TEST',tabname =>'TAB1',extension => '("COL1","COL2")');
*
ERROR at line 1:
ORA-00001: unique constraint (SYS.I_WRI$_OPTSTAT_HH_OBJ_ICOL_ST) violated
ORA-06512: at "SYS.DBMS_STATS", line 47207
ORA-06512: at line 1
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 |