Database DataWarehousing (MOSC)

MOSC Banner

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

edited Apr 4, 2012 3:13PM in Database DataWarehousing (MOSC) 6 commentsAnswered
Hello.

My app team reported the error

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

when trying to drop old partitions from the tables that were initially created as range partitions, but later converted to interval. I have done some research on this issue (as I have never run into it before) and it looks like I have two options

- alter the code of the drop partition procedure to only drop the oldest partition with the name starting with SYS_P

- create a truncate partition procedure to truncate old range partitions (with the names not starting with SYS_P)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center