Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************Got the opportunity to pen a Book on Database Cloud Services.......More details to follow.***************

Title : Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2020

**********************************************************************************


My Cloud Certifications:

AWS Certified Solutions Architect Associate

Azure Certified Architect

Azure Certified Administrator

Oracle Cloud Infrastructure 2018 Certified Architect Associate.

Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate.

Oracle Database Cloud Administrator Certified Professional.

Oracle Database Cloud Service Operations Certified Associate.

Search This Blog

Thursday, August 23, 2012

ORA-14400: inserted partition key does not map to any partition

You can split the partition if you have defined the max value or default partition if not you can either add a new partition


SQL> alter table part_test add partition part_oct values less than (to_date('2012-10-30','yyyy-mm-dd'));

Table altered.

or
 use interval partitioning ...

SQL> insert into part_test values (to_date('2012-10-02','yyyy-mm-dd'),'inserting for aug');
insert into part_test values (to_date('2012-10-02','yyyy-mm-dd'),'inserting for aug')
            *
ERROR at line 1:
ORA-14400: inserted partition key does not map to any partition


SQL> alter table part_test set interval(numtodsinterval(1,'day'));

Table altered.

SQL> insert into part_test values (to_date('2012-10-02','yyyy-mm-dd'),'inserting for oct');

1 row created.

No comments: