You can get the partition name from the subobject_name column of the all/user/dba_objects view. The object id for the partition is retrieved by the supplied procedure DBMS_MVIEW.PMARKER().
For example ...
Code:
Select
ao.subobject_name,
mt.my_column
from
all_objects ao,
my_table mt
where
ao.object_id = DBMS_MVIEW.PMARKER(mt.rowid)
/
This is exactly what I'm looking for - but for some reason, the object_id returned from the dbms_mview.pmarker(rowid) doesn't exist in the user_objects table.
Bookmarks