加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 站长百科 > 正文

在Oracle 11g2 XE中编译PL / SQL函数有时会导致ORA-00600:内部

发布时间:2021-05-21 10:02:30 所属栏目:站长百科 来源:网络整理
导读:我有一个PL / SQL函数,我正在使用它有时编译好,但有时给我这个错误. ORA-00600: internal error code,arguments: [17285],[0x318FDE2C],[1],[0x273F1C60],[],[]00600. 00000 - "internal error code,arguments: [%s],[%s],[%s]"*Cause: This is the generic

我有一个PL / SQL函数,我正在使用它有时编译好,但有时给我这个错误.

ORA-00600: internal error code,arguments: [17285],[0x318FDE2C],[1],[0x273F1C60],[],[]
00600. 00000 -  "internal error code,arguments: [%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

断开连接并重新连接到Oracle和函数编译确定感到疯狂……

谷歌搜索错误代码和参数给了我这个

ERROR:
ORA-600 [17285] [a] [b] [c]

VERSIONS:
versions 7.0 to 10.1
DESCRIPTION:
Oracle is in the process of deleting an instantiation object when it
discovers that the object is currently on the call stack.
This should not occur and so ORA-600 [17285] is reported.
ARGUMENTS:
Arg [a] Instantiation object
Arg [b] Call stack nesting level
Arg [c] Library Cache Object Handle
FUNCTIONALITY:
Kernel Generic Instantiation manager

IMPACT:
PROCESS FAILURE
NON CORRUPTIVE - no corruption to underlying data.
SUGGESTIONS:
This error is usually accompanied by another error. Please check for this.

我的函数返回一个自定义的表格类型.大多数功能代码遗漏了……

CREATE TYPE t_solexp_row AS OBJECT (
obj         VARCHAR(30),dt          DATE,param       VARCHAR(30),param_id    NUMBER,val         NUMBER,change_time TIMESTAMP
);
/

CREATE TYPE t_solexp_tab IS TABLE OF t_solexp_row;
/

CREATE OR REPLACE FUNCTION get_solexp_tab(p_start_date IN DATE,p_end_date IN DATE) RETURN t_solexp_tab PIPELINED AS
BEGIN
    ...
    LOOP
        PIPE ROW(t_solexp_row(...,...,...);
    END LOOP;
    ...
    RETURN;
END;
/

任何可能导致这种行为的想法?

这不是一个自我回答的问题,但我写了一个想法,谢谢Stackoverflow!

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读