簡體   English   中英

ORA-00600運行ALTER命令時?

[英]ORA-00600 When running ALTER command?

我在桌上運行此命令:

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

有什么想法嗎?

這是一個錯誤,正如paxdiablo所說,您需要與dba交流以制作SR。

如果時間緊迫,您可以手動執行操作

ALTER TABLE testTable ADD column1 NUMBER(1) DEFAULT 0 NOT NULL;
  1. 將列添加為空:

     ALTER TABLE testTable ADD column1 NUMBER(1); 
  2. 更新值:

     update testTable set column1 = 0; 
  3. 更改表不為空(在此例之間,您必須確保沒有人在表中插入):

     ALTER TABLE testTable MODIFY(column1 NOT NULL) 

好吧,盡管您在另一個問題中指出刪除了after子句,但它仍然存在:-)

但這無關緊要。 這是Oracle的一個嚴重錯誤。

根據錯誤消息的建議,您需要向他們報告(與您的Oracle Support代表一起提出SR)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM