ORA-00600 When running ALTER command?

谁说胖子不能爱 提交于 2019-12-18 07:08:44

问题


I am running this command on a table :

ALTER TABLE testTable ADD column1 NUMBER(1) DEFAULT 0 NOT NULL;

And i keep getting this error:
Error report:
SQL Error: ORA-00600: internal error code, arguments: [kkpoffoc], [], [], [], [], [], [], [], [], [], [], []
00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
*Cause: This is the generic internal error number for Oracle program
exceptions. This indicates that a process has encountered an exceptional condition.
*Action: Report as a bug - the first argument is the internal error number

Any thoughts on this?


回答1:


This is a bug, and you need to talk with your dba to make a SR as paxdiablo said.

If you are pressed for time, you can manually do what does

ALTER TABLE testTable ADD column1 NUMBER(1) DEFAULT 0 NOT NULL;
  1. Add the column as null:

    ALTER TABLE testTable ADD column1 NUMBER(1);
    
  2. Update values:

    update testTable set column1 = 0;
    
  3. Alter table not null(between precedent and this, you must be sure that nobody inserts in the table):

    ALTER TABLE testTable MODIFY(column1  NOT NULL)
    



回答2:


Well, despite the fact you stated in your other question that you removed the after clause, it's still there :-)

But that's irrelevant. This is a serious bug with Oracle.

You need to report it to them (raise an SR with your Oracle Support rep), as the error message advises.



来源:https://stackoverflow.com/questions/8923091/ora-00600-when-running-alter-command

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!