解決 plsql dev中ORA-20000 ORU-10027 buffer overflow, limit of 2000 bytes 問題
在plsql dev中使用dbms_output.put_line的時候報如下錯誤
ORA-20000: ORU-10027: buffer overflow, limit of 2000 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 line 5 |
詳細日誌如下:
[@more@]SQL> SQL> set serveroutput on; SQL> begin 2 for c in (select * from dba_objects) 3 loop 4 dbms_output.put_line(c.object_name); 5 end loop; 6 end; 7 / ICOL$ I_USER1 ... ... I_SNAP_REFTIME1 MLOG_REFCOL$ begin for c in (select * from dba_objects) loop dbms_output.put_line(c.object_name); end loop; end; ORA-20000: ORU-10027: buffer overflow, limit of 2000 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 line 5 SQL> |
解決方法如下:
SQL> exec dbms_output.enable(9999999999); PL/SQL procedure successfully completed SQL> SQL> begin 2 for c in (select * from dba_objects) 3 loop 4 dbms_output.put_line(c.object_name); 5 end loop; 6 end; 7 / ICOL$ I_USER1 CON$ UNDO$ ... ... WRH$_SYS_TIME_MODEL WRH$_SYS_TIME_MODEL_PK WRH$_SYS_TIME_MODEL_PK WRH$_SERVICE_WAIT_CLASS WRH$_SERVICE_WAIT_CLASS_PK WRH$_SERVICE_WAIT_CLASS_PK BIG_TABLE P_TEST PL/SQL procedure successfully completed SQL> |
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22049049/viewspace-1031882/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-20000, ORU-10027: Buffer overflow, limit of <buf_limit> bytesMIT
- ORA-20000:ORU-10027:buffer overflow,limit of 10000 bytes錯誤MIT
- ORA-20000: ORU-10028: line length overflow, limit of 255 chars per lineMIT
- 解決plsql中中文亂碼問題SQL
- ORA-20000的解決方法
- ORACLE10G ORA-20000問題處理詳解Oracle
- plsql查詢亂碼問題解決SQL
- 解決 plsql 遇到亂碼的問題SQL
- 求解決 Laravel with () limit 的問題 附帶解決方案LaravelMIT
- 解決PLSQL Developer中不能看到Courier New字型問題SQLDeveloper
- TKE 容器網路中的 ARP Overflow 問題探究及其解決之道
- 解決text-overflow: ellipsis;不生效的問題
- 解決 Specified key was too long ... 767 bytes 的本質問題
- 解決用PLSQL Developer連線VMWare中的Oracle 11g問題SQLDeveloperOracle
- golang的bytes.bufferGolang
- 解決webpack-dev-server代理常切換問題WebdevServer
- ORA-20000:index is in unusableIndex
- Understanding Buffer Overflow Bugs
- ORA-12012、ORA-20000錯誤解決過程
- 解決MySQL使用limit偏移量較大效率慢的問題MySqlMIT
- table表格中text-overflow失效解決方案
- 怎麼解決SQL server 2000的中文問題?SQLServer
- 解決「問題」,不要解決問題
- SQL Server 2000 死鎖(dead lock) 問題解決SQLServer
- 關於mysql中limit最佳化的問題MySqlMIT
- MySql中limit子查詢的解決辦法MySqlMIT
- 解決oracle中not like效率問題Oracle
- PLSQL中漢字顯示亂碼問題SQL
- 64位下安裝plsql dev訪問資料庫方法SQLdev資料庫
- ORA-20000: Insufficient privileges to analyze an object in SchemaObject
- import_schema_stats時報出ORA-20000:Import
- MySQL資料庫index column size too large. the maximum column size is 767 bytes問題解決MySql資料庫Index
- 檢測和解決 SQL Server2000 SP4中問題SQLServer
- java中亂碼問題解決方法Java
- 如何在直播中解決花屏問題?
- CKEditor使用中遇到的問題解決
- 解決問題
- /dev/null解決辦法devNull