小编Cho*_*cus的帖子

Oracle ORA-00600

我有SQL SELECT语句返回:

    Error: ORA-00600: internal error code, arguments: [qerpfAllocateR], [], [], [], [], [], [], []
Run Code Online (Sandbox Code Playgroud)

如果我通过在WHERE子句中再添加一个条件来缩小我的结果,一切都可以.

谁知道发生了什么?

编辑:

    select * from ( select tbl1.col1, ..., tbl1.points
    from table1 tbl1, table2 tbl2
    where tbl1.tbl2FK = tbl2.PK and
          tbl2.col1 = someNumber and
          tbl1.dateColumn = to_date('27-10-2008','dd-mm-yyyy')
    order by tbl1.points desc ) s where rownum <= 3 
Run Code Online (Sandbox Code Playgroud)

EDIT2:

我的数据库管理员建议解决方案有效

select * from (select rank() over (order by tbl1.points desc) rank,
                  tbl1.col1, ..., tbl1.points
           from table1 tbl1, table2 tbl2
           where tbl1.tbl2FK = tbl2.PK and …
Run Code Online (Sandbox Code Playgroud)

sql oracle plsql ora-00600

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

ora-00600 ×1

oracle ×1

plsql ×1

sql ×1