The diagnostic tracing feature is deprecated. Use the SQL Anywhere Profiler to diagnose issues in your database. The DETACH TRACING session ends a diagnostic tracing session.
DETACH TRACING { WITH | WITHOUT } SAVE
Specify WITH SAVE to save unsaved diagnostic data in the diagnostic tables.
Specify WITHOUT SAVE if you do not want to save unsaved tracing data.
Execute this statement from the database being profiled to stop sending diagnostic information to the diagnostic tables. If you specify the WITHOUT SAVE clause, then you can still save the data later, assuming that the tracing database is still running and another tracing session has not been started, by using the sa_save_trace_data system procedure.
To see the current tracing levels set for a database, look in the sa_diagnostic_tracing_level table.
You must have the MANAGE PROFILING system privilege.
None.
Not in the standard.