Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Drop cube organized table

AdamMartinJan 30 2012 — edited Jan 31 2012
In a test environment I dropped a Cube MV with preserve table:
drop materialized view CB$MY_MV_CB preserve table;
It successfully dropped the MV but left the table. Now when I attempt to drop the table, I get:
drop table CB$MY_MV_CB;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-37406: invalid option for a CUBE ORGANIZED table
How do I get around this?

Of course the "table" is really just an interface to the OLAP cube and using "preserve table" does nothing for me. Even still, I would like to drop the table. Dropping the MV without using "preserve table" successfully drops both the MV and the table. But once they are no longer associated with each other after using preserve table, I'm stuck.

Ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2012
Added on Jan 30 2012
11 comments
690 views