My Oracle Support Banner

How To Avoid ORA-14758 in Interval Partitioned Table (Doc ID 1526571.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.2 [Release 11.1 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Information in this document applies to any platform.

Symptoms

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

 This error occurs when you try to drop the last statically created partition (from the initial table creation DDL) from an Interval Partitioned table.

This error will be reported for database version below 12.2

Changes

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner. 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
 A./ Without moving the current transition point
 B./ If you want to move the transition point
 (i) You can split an interval partition (a partition in the interval section that is materialized already).
 (ii) You can merge two adjacent interval partitions into one partition.
 (iii) You can merge the first interval partition with the highest range partition.
 (iv) Temporarily disable the interval partition.
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.