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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Database Administration » Security » Keeping your data secure » Auditing database activity

 

Adding audit comments

You can add comments to the audit trail using the sa_audit_string system stored procedure. It takes a single argument, which is a string of up to 200 bytes. You must have DBA authority to call this procedure.

For example:

CALL sa_audit_string( 'Started audit testing here.' );

This comment is stored in the transaction log as an audit statement.