我在桌上运行此命令:
ALTER TABLE testTable ADD column1 NUMBER(1) DEFAULT 0 NOT NULL;
而且我不断收到此错误: 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
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
有什么想法吗?
这是一个错误,正如paxdiablo所说,您需要与dba交流以制作SR。
如果时间紧迫,您可以手动执行操作
将列添加为空:
ALTER TABLE testTable ADD column1 NUMBER(1);
更新值:
update testTable set column1 = 0;
更改表不为null(在此例之间,您必须确保没有人在表中插入):
ALTER TABLE testTable MODIFY(column1 NOT NULL)