Last updated on AUGUST 02, 2016
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [Release 11.2 to 12.1]
Information in this document applies to any platform.
You want to use interval partitioning for a specific number of partitions (N) and then drop the oldest one with you get to N+1. For example, you have created a partitioned table with interval partitioning using an interval of 1 day. You want to keep 30 days of data and on day 31, drop the oldest partition. However, when you do that, you get an "ORA-14758: Last partition in the range section cannot be dropped."
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms