标签:
IT/科技 |
分类: ora错误分析 |
alter table t1 rename col n1 to n2
ERROR 位于第 1 行:
ORA-14155: PARTITION 或 SUBPARTITION 关键字丢失
分析:开始以为是所修改列有constraint,所以去查user_constraints
发现并没有约束。所以才怀疑是语法出了问题,正确语法:
SQL> alter table t1 rename column n1 to n2;
表已更改。
ALTER TABLE customers RENAME
COLUMN credit_limit TO credit_amount;