Collected posts: Oracle, SQL, PL/SQL, Performance, Security...(More than 300 blogs)

mardi 26 juin 2012

ORA-20000: ORU-10027: buffer overflow, limit of 10000 bytes



Dernierement lors de l’exécution d'un bloc PL/SQL sous PL/SQL developer j'ai reçu l'erreur oracle suivante : ORA-20000: ORU-10027: buffer overflow, limit of 10000 bytes.

Dans mon bloc PL/SQL, j'utilise la fonction DBMS_OUTPUT.put_line pour afficher des données.


Pour résoudre le problème il suffit juste d'ajouter DBMS_OUTPUT.ENABLE(1000000); juste avant l'appel de fonction DBMS_OUTPUT.put_line


declare   -- Local variables here
  i integer;
begin
  DBMS_OUTPUT.ENABLE(1000000);
  -- Test statements here  for i in 1..1000 loop
    ------  end loop;
end; 

Pour résoudre ce problème si vous êtes sous SQLplus il suffit  juste d'ajouter
d’exécuter cette commande  set serveroutput on size 1000000

1 commentaire:

  1. Course Content - http://www.21cssindia.com/courses/sap-grc-online-training-41.html --
    Introduce SAP Governance, Risk, and Compliance (GRC) 10.0Provision and Manage Users - Plan for User Access - Plan for Human Resources Integration - Define User Provisioning - Design End User Personalization Forms - Request Approval - Periodic Access Review Process - Plan Periodic Review - Review Access Risk (SoD Review) - Monitor User Access - Monitor Role Access - Business Rule Framework (BRF) - Define workflow related Multi-Stage Multi-Path Workflow Rules - Define business rules using the BRF Workbench - Create BRFplus rules & Reporting - Reporting Framework - Change Existing Reports - Add Custom Fields to Access Requests and Roles - Access Control Implementation Process - Implementation Process Overview - Project Teams - Designing the Access Control Solution - Upgrade and Migration - Configuring Access Control using te IMG - Implementing the Solution - Optimizing and Enhancing the Solution - Employees to learn at their own pace and maintain control of learning “where, when and how” with boundless access 24/7by 21st Century Software Solutions. contact@21cssindia.com ---- Call Us +919000444287

    RépondreSupprimer