Facing ORA-00001 Error When We Are Trying To Dropping Extended Stats
(Doc ID 2820245.1)
Last updated on DECEMBER 09, 2021
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
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
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