我在尝试向表中添加新列时遇到此错误:
ALTER TABLE TBLCOMPANY ADD EVENTCATEGORYLEVEL NUMBER (20) DEFAULT 1
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
我不知道为什么会这样。我试图谷歌,但似乎没有人有答案。 (数据库建议的行动很荒谬)。
答案 0 :(得分:3)
我发现了这个问题! 这是因为我的用户没有权限来创建索引。 我建议任何有同样问题的人来运行查询,看看他们是否有足够的权限去做他们想做的事情:
select * from session_privs;