Oracle8i Supplied PL/SQL Packages Reference Release 2 (8.1.6) Part Number A76936-01 |
|
DBMS_TRACE , 2 of 2
Subprogram | Description |
---|---|
SET_PLSQL_TRACE Procedure |
Starts tracing in the current session. |
CLEAR_PLSQL_TRACE Procedure |
Stops trace data dumping in session. |
PLSQL_TRACE_VERSION procedure |
Gets the version number of the trace package. |
This procedure enables PL/SQL trace data collection.
DBMS_TRACE.SET_PLSQL_TRACE ( trace_level INTEGER);
Table 53-2 describes the parameter for the DBMS_TRACE.SET_PLSQL_TRACE syntax.
Parameter | Description |
---|---|
trace_level |
You must supply one or more of the constants as listed. By summing the constants, you can enable tracing of multiple PL/SQL language features simultaneously. The control constants "trace_pause", "trace_resume" and "trace_stop" should not be used in combination with other constants Also see "Collecting Trace Data" for more information. |
This procedure disables trace data collection.
DBMS_TRACE.CLEAR_PLSQL_TRACE;
None.
This procedure gets the version number of the trace package. It returns the major and minor version number of the DBMS_TRACE
package.
DBMS_TRACE.PLSQL_TRACE_VERSION ( major OUT BINARY_INTEGER, minor OUT BINARY_INTEGER);
Table 53-3 describes the parameters for the DBMS_TRACE.PLSQL_TRACE_VERSION syntax.
Parameter | Description |
---|---|
major |
Major version number of |
minor |
Minor version number of |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|