Unable to delete oldest table partition - Oracle 11g

Posted by poijoi on Stack Overflow See other posts from Stack Overflow or by poijoi
Published on 2009-09-08T17:57:07Z Indexed on 2010/04/01 15:03 UTC
Read the original article Hit count: 348

Filed under:
|

Hi,

I'm using the 11g interval partitioning feature in one of my tables. I set it up to create 1 day partitions on a timestamp field and created a job to delete data 3 months old. When I try to delete the oldest partition I get the following error:

ORA-14758: Last partition in the range section cannot be dropped

I would have thought that "Last" refers to the newest partition and not the oldest. How should I interpret this error? Is there something wrong with my partitions or should I in fact keep the oldest partition there at all time?

Thanks in advance, PJ

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about partitioning