ORA-00600: 内部错误代码,参数: [qctcte1], [0], [], [], [], [], [], []
生活随笔
收集整理的這篇文章主要介紹了
ORA-00600: 内部错误代码,参数: [qctcte1], [0], [], [], [], [], [], []
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天遇到此錯,一頭無數。百度到http://ms.itpub.net/redirect.php?fid=2&tid=1187496&goto=nextoldset
此牛人滴解答,備忘之
The information in this article applies to: Oracle Server - Enterprise Edition - Version: 9.2.0.3 - 10.2 This problem can occur on any platform.Errors ORA 600 "internal error code, arguments: [qctcte1],[0],[%s], [%s], [%s],Symptoms ORA-00600 [qctcte1] is encountered while performing a nested select which might include functions like distinct or have an order by clause.Example:Sql> CREATE OR REPLACE TYPE int_list IS VARRAY(200) OF INTEGER;Sql> CREATE TABLE test (id INTEGER);Sql> SELECT id FROM ( SELECT rp.id FROM (SELECT DISTINCT column_value ID FROM TABLE(int_list(1,1,2))) rp, test p WHERE p.id = 1 ORDER BY p.id DESC)ERROR at line 2: ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], []Cause An inconsistent datatype is reported during typechecking when parsing a query. This is bug 3557906. Fix There are several Workarounds :1> Remove the desc from the order by clauseSql > SELECT id FROM ( SELECT rp.id FROM (SELECT DISTINCT column_value ID FROM TABLE(int_list(1,1,2))) rp, test p WHERE p.id = 1 ORDER BY p.id )2> Alter session set "_complex_view_merging"=false;3> Remove the distinct clauseSql > SELECT id FROM ( SELECT rp.id FROM (SELECT column_value ID FROM TABLE(int_list (1,1,2))) rp, test p WHERE p.id = 1 ORDER BY p.id DESC)4> Remove the order by clauseSql > SELECT id FROM ( SELECT rp.id FROM (SELECT column_value ID FROM TABLE(int_list(1,1,2))) rp, test p WHERE p.id = 1 ) 5> _pred_move_around = falseThis is fixed in 10.2 and will be fixed in the 9206 patchset. References <Bug:3557906> ORA-600: INTERNAL ERROR CODE, ARGUMENTS: [QCTCTE1], [0],
解決辦法:http://www.itpub.net/thread-213470-1-1.html?
本人環境 改成force之后還是不好使,各位試試吧
Oracle cursor_sharing 參數 詳解 :http://blog.csdn.net/tianlesoftware/article/details/6551723
?
?
?
?
轉載于:https://www.cnblogs.com/superMarioli/archive/2011/07/12/3683701.html
總結
以上是生活随笔為你收集整理的ORA-00600: 内部错误代码,参数: [qctcte1], [0], [], [], [], [], [], []的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [WCF权限控制]利用WCF自定义授权模
- 下一篇: STL vector 容器介绍