Skip to Main Content

SQL & PL/SQL

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!

Truncate Partition

MKJ10930279Aug 29 2016 — edited Aug 30 2016

Hi All,

I have a table with composite primary key as (Dept_id,ref_num).

This table has 3 partitions on column trans_dt which has data in format "mon2016" and each partition has 5 sub-partitions on column dept_id.

whenever i truncate a specific partition and again insert the data in the same table then i get error: ORA-01502: index <index_name> or partition of such index is in unusable state

what's the reason for this error?

DB version is 11.2.0.3

This post has been answered by Saubhik on Aug 29 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2016
Added on Aug 29 2016
3 comments
599 views