dbms_output size buffer overflow(dbms_output 大小缓冲区溢出)
问题描述
我试图在存储过程中将 dbms_output
的大小设置为无限制.
I tried to set the dbms_output
size to unlimited inside a stored procedure.
但它给了我编译错误.所以我在 SQL*Plus 提示中尝试了以下方式.但我仍然收到缓冲区溢出错误.我怎样才能克服这个问题?
But it gave me compilation errors. So I tried in the SQL*Plus prompt the below way. But still I get the buffer overflow error. How can I overcome this?
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过程中,万一有一个调用
In the procedure service_update, by any chance is there a call to
dbms_output.enable(30000);
这可能会覆盖您设置的第一个限制.
This may override the first limit you set.
这篇关于dbms_output 大小缓冲区溢出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:dbms_output 大小缓冲区溢出


基础教程推荐
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01