ORA-12986: columns in partially dropped state. Submit ALTER TABLE DROP COLUMNS CONTINUE
Cause: An attempt was made to access a table with columns in partially dropped state (i.e., drop column operation was interrupted).
Action: Submit ALTER TABLE DROP COLUMNS CONTINUE to complete the drop column operation before accessing the table.
ORA-12986:可以理解为当下某个列正处于掉删除的状态,还没有完全的销毁,就是说表的状态还没有真正的更新完。
ORA-12986: 列是在删除状态。表的删除在发生期间,无法更新它。
在删除列时发生错误,没有完成更新表状态,就是没有完成数据库列的持久性更新,列就处在删除状态,这时候就会报ORA-12986错误。
1.查询当前表状态,确认列还处在掉删除的状态
2.运行ALTER TABLE DROP COLUMNS CONTINUE 命令,继续处理删除列操作
3.确保表的更新操作删除完成,查询语句:select * from user_tab_columns;