Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » Database maintenance » Event tracing


Listing available trace events

View the user-defined and system-defined trace events, along with their fields, that can be recorded in the diagnostic log.


The MANAGE ANY TRACE SESSION system privilege is required.

  1. To view a list of all trace events, run the sp_trace_events system procedure.

  2. To view a list of the fields for the trace events, run the sp_trace_event_fields system procedure.

    The following table shows the possible severity levels for tracing events.

    Level Severity value range
    ALWAYS 0
    CRITICAL 1-50
    ERROR 51-100
    WARNING 101-150
    INFORMATION 151-200
    DEBUG 201-255


The database server returns a result set listing the supported trace events.

 See also