Skip to Main Content

Oracle Database Discussions

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!

user_tab_partitions - remove selected bin tables?

user5716448Aug 12 2020 — edited Aug 13 2020

Hi,

11.2.0.3 version

Noticed a sql we have was returning an error

dropped table concerned but look slike the old partitiosn are still in user_tab_partitions

BIN$rJuJTsqdAJjgUwq+RCb6SA==$0

Could change the code such that ignores bin tables but don't understand why partitions not dropped if table itself dropped?

Can selected bin tables be dropped in user_tab_partitions

Even though the table isn't in the tables listed in our_control_tables it looks like it is evaluating the where condition first

select *

from user_tab_partitions a,

our_control_tables b,

where a.table_name = b.table_name

and to_number(replace(a.partition_name,'PTION_RUNNUM_','')) = 3575

Thanks

This post has been answered by Mark D Powell on Aug 13 2020
Jump to Answer
Comments
Post Details
Added on Aug 12 2020
8 comments
941 views