Site icon IT Tutorial

ORA-14639: SUBPARTITIONS clause can be specfied only for Hash Composite Range Hash table/partition

I got ” ORA-14639: SUBPARTITIONS clause can be specfied only for Hash Composite Range Hash table/partition ” error in Oracle database during table creation.

 

ORA-14639: SUBPARTITIONS clause can be specfied only for Hash Composite Range Hash table/partition

 

Details of error are as follows.

 

ORA-14639: SUBPARTITIONS clause can be specfied only for Hash Composite Range Hash table/partition

Description: SUBPARTITIONS clause can be specfied only for Hash, Composite Range Hash table/partition
Cause: Attempted to specify SUBPARTITIONS clause on table that is not partitioned by the Composite Range-Hash method
Action: Reissue the command after ensuring that the SUBPARTITIONS clause is not specified, to specify a template for a Composite Range List object use the SUBPARTITION TEMPLATE clause


 

The ORA-14639  error is related with the SUBPARTITIONS clause.

To solve this error, remove SUBPARTITION clause in the Table partition script, then try again.

If you got this error during Toad Schema Compare tool, then you can use the table generation or schema DDL generation using DBMS_METADATA as follows.

How to Get DDL ( Create Script ) of any Object in Oracle Using DBMS_METADATA.GET_DDL

 

 

 

 

Reissue the command after ensuring that the SUBPARTITIONS clause is not specified, to specify a template for a Composite Range List object use the SUBPARTITION TEMPLATE clause

 

 

Do you want to learn Oracle Partitioning, then Click This Link and read the articles.

Partitioning in Oracle Database

Exit mobile version