Oracle problem-ORA-14400: The inserted partition keyword is not mapped to any partition

Source: Internet
Author: User

When an SQL data import is executed: ORA-14400: The inserted partition keyword is not mapped to any partition

The details are as follows:

SQL> @ "C: \ Documents ents and Settings \ Administrator \ Desktop \ 0109 new V8BS deployment \ to su hong separately
Table SQL \ TBL_SERVICE_INFO. SQL"
PL/SQL Developer import file

Insert into TBL_SERVICE_INFO (xxx );
*
Row 3 has an error:
ORA-14400: The inserted partition keyword is not mapped to any partition

Analysis:

1, Baidu query to see the error code ORA-14400 problem is likely to be a table partition problem.

2. Use the following SQL:

Select *
From user_tab_partitions t
Where t. table_name = 'tbl _ SERVICE_INFO ';

If the time table partition is found to have expired, data in the SQL file cannot be imported after the date is greater than 2011.5 months.

Solution:

1. Expand the partitions of the table.

Alter table TBL_SERVICE_INFO add PARTITION P_SERV_START_TIME_1105 values less than ('2017-06-01 00:00:00 ') tablespace PATITION;

Alter table TBL_SERVICE_INFO add PARTITION P_SERV_START_TIME_1106 values less than ('2017-07-01 00:00:00 ') tablespace PATITION;

Alter table TBL_SERVICE_INFO add PARTITION P_SERV_START_TIME_1107 values less than ('2017-08-01 00:00:00 ') tablespace PATITION;

Alter table TBL_SERVICE_INFO add PARTITION P_SERV_START_TIME_1108 values less than ('2017-09-01 00:00:00 ') tablespace PATITION;

Alter table TBL_SERVICE_INFO add PARTITION P_SERV_START_TIME_1109 values less than ('2017-10-01 00:00:00 ') tablespace PATITION;

2. Data is imported successfully when the SQL file is imported again!

This is only a poor analysis and solves this problem, and will be further analyzed in the future.

For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.