将数据从另一个表插入现有分区时出错

时间:2017-08-17 15:02:13

标签: sql database

我正在尝试在分区表上插入,如:

 insert into table select * from table@dblink
 where date = 201702003;

首先,我创建了正确的分区:  TP_201702003值(201702003)

得到了这个错误:

Error report -
SQL Error: ORA-14400: a chave de partição inserida não corresponde a nenhuma partição
14400. 00000 -  "inserted partition key does not map to any partition"
*Cause:    An attempt was made to insert a record into, a Range or Composite
           Range object, with a concatenated partition key that is beyond
           the concatenated partition bound list of the last partition -OR-
           An attempt was made to insert a record into a List object with
           a partition key that did not match the literal values specified
           for any of the partitions.
*Action:   Do not insert the key. Or, add a partition capable of accepting
           the key, Or add values matching the key to a partition specification

这是唯一有这个问题的月份。 你能看到什么问题吗?

提前致谢。

0 个答案:

没有答案