欢迎光临
我们一直在努力

ORA-22859: invalid modification of columns ORACLE 报错 故障修复 远程处理

文档解释

ORA-22859: invalid modification of columns

Cause: An attempt was made to modify an object, REF, VARRAY, nested table, or LOB column type.

Action: Create a new column of the desired type and copy the current column data to the new type using the appropriate type constructor.

ORA-22859: invalid modification of columns错误指的是对某一列结构进行了非法的修改。

官方解释

ORA-22859: invalid modification of columns occurs when there is an attempt to modify a column at an invalid time, for example, when one attempted to modify the column type or size.

常见案例

1.在创建新表时,指定某一字段类型错误

2.增加新列时,指定某一字段类型错误

3.修改列的数据类型出错时

一般处理方法及步骤

确认语句中的表名、字段名是否正确;

检查一下你想要修改的类型是不是可以修改的;

检查一下列表的大小,是否超出了最大的限制;

如果还是不能正常运行,那就尝试重建表格语句,将那一列放到最后,然后修改语句只更改那一个字段。

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。