【发布时间】:2010-10-05 10:07:11
【问题描述】:
我有返回的 SQL SELECT 语句:
Error: ORA-00600: internal error code, arguments: [qerpfAllocateR], [], [], [], [], [], [], []
如果我通过在 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
编辑2:
我的数据库管理员建议了可行的解决方案:
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
tbl2.col1 = someNumber and
tbl1.dateColumn = to_date('27-10-2008','dd-mm-yyyy')) s
where s.rank <= 3
【问题讨论】:
-
请指定数据库版本、平台和补丁级别。
-
在这里遇到了同样的问题,但找到了一种解决方法来完成我所需要的。 stackoverflow.com/questions/8923091/…
标签: sql oracle plsql ora-00600