相关疑难解决方法(0)

具有参考分区的直接路径插入?

如何使用直接路径插入通过引用分区将数据快速加载到表中?直接路径插入不能与启用的外键一起使用,并且不能禁用参考分区表的外键。

SQL> create table parent_table(a number primary key)
  2  partition by range(a) (partition p1 values less than (1));

Table created.

SQL> create table child_table(a number not null
  2     ,constraint child_table_fk foreign key (a) references parent_table(a))
  3  partition by reference (child_table_fk);

Table created.

SQL> alter table child_table disable constraint child_table_fk;
alter table child_table disable constraint child_table_fk
*
ERROR at line 1:
ORA-14650: operation not supported for reference-partitioned tables
Run Code Online (Sandbox Code Playgroud)

oracle

3
推荐指数
1
解决办法
883
查看次数

标签 统计

oracle ×1