The ENABLE procedure allows calls to the PUT, PUT_LINE, NEW_LINE, and GET_LINE procedures.
If the DBMS_OUTPUT package is not enabled, calls to these procedures are ignored.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_OUTPUT.ENABLE (
buffer_size IN INTEGER DEFAULT 20000);
Parameters
| Parameter | Description |
|---|---|
| buffer_size | The maximum size of the buffer (in bytes).
|
Considerations
If you use the
SET SERVEROUTPUToption of OBClient, you do not need to call this procedure.If multiple
ENABLEprocedures are called, thebuffer_sizeparameter uses the value specified last. If you specifybuffer_size(NOT NULL), the value must be in the range [2,000, 1,000,000].The default value is 20,000, which ensures backward compatibility with earlier database versions that do not support unlimited buffering.
