ORA-14704: Create table as select disallowed for SYSTEM patitioned tables ORACLE 报错 故障修复 远程处理

文档解释

ORA-14704: Create table as select disallowed for SYSTEM patitioned tables

Cause: User attempted to create a SYSTEM partitioned table by doing a create table as select.

Action: Do a create table followed by an insert as select into each partition.

ORA-14704 表明,已有的系统分区表无法使用Create Table As Select(CTAS)语句或其衍生语句来重新创建。

官方解释

常见案例

正常处理方法及步骤

1.确认表是否为系统分区表,可以使用”select * from user_objects where object_type = ‘TABLE’ and partitioned=’YES’;”语句

2.如果是系统分区表,则禁止使用CTAS重新创建表

3.使用ALTER TABLE语句对系统分区表进行修改,添加或删除分区


数据运维技术 » ORA-14704: Create table as select disallowed for SYSTEM patitioned tables ORACLE 报错 故障修复 远程处理