How to manage problem "ORA-14758: Last partition in the range section cannot be dropped"
Hi all, I am Oracle 11g (11.2.0.4).
Just encountered the problem said "ORA-14758: Last partition in the range section cannot be dropped", the target table is "WRI$_OPTSTAT_SYNOPSIS$". Now we know "dbms_stats.get_prefs('INCREMENTAL')" is FALSE, so I guest the related schedule clean job like "SYS.ORA$AT_OS_OPT_SY_xxxxx" should not be run, but it did.
Additionally, table "WRI$_OPTSTAT_SYNOPSIS$" is empty, of course it has only one partition, that is why the ora error jumped out.
I have another database with identical condition, but it is pretty normal, so I have no idea what's wrong with the first one. Please help me to resolve the problem, thanks in advanced.