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

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

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2019

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


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]


My Cloud Certifications:
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: