gpt4 book ai didi

oracle - dbms_output 大小缓冲区溢出

转载 作者:行者123 更新时间:2023-12-02 08:42:57 27 4
gpt4 key购买 nike

我尝试在存储过程中将 dbms_output 大小设置为无限制。

但是它给了我编译错误。所以我在 SQL*Plus 提示符下尝试了以下方法。但我仍然收到缓冲区溢出错误。我该如何克服这个问题?

 set serveroutput on size unlimited;
exec service_update;


ORA-20000: ORU-10027: buffer overflow, limit of 30000 bytes
ORA-06512: at "SYS.DBMS_OUTPUT", line 32
ORA-06512: at "SYS.DBMS_OUTPUT", line 97
ORA-06512: at "SYS.DBMS_OUTPUT", line 112
ORA-06512: at "ARBOR.SERVICE_UPDATE", line 27
ORA-06512: at line 1

最佳答案

在过程service_update中,很可能会调用

dbms_output.enable(30000); 

这可能会覆盖您设置的第一个限制。

关于oracle - dbms_output 大小缓冲区溢出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8045844/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com