| Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 | 
 | 
DBMS_TRACE , 2 of 2
| Subprogram | Description | 
|---|---|
| Starts tracing in the current session. | |
| Stops trace data dumping in session. | |
| Gets the version number of the trace package. | 
This procedure enables PL/SQL trace data collection.
DBMS_TRACE.SET_PLSQL_TRACE ( trace_level INTEGER);
| 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;
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);
| Parameter | Description | 
|---|---|
| major | Major version number of  | 
| minor | Minor version number of  | 
| 
 |  Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. | 
 |