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 » Task automation using schedules and events » Event handlers

 

Hiding an event handler

For improved security, you can hide the definition for an event handler using the ALTER EVENT statement.

Prérequis

You must have either the MANAGE ANY EVENT or ALTER ANY OBJECT system privilege.

 Task
  1. Connect to the database.

  2. Execute an ALTER EVENT statement with the SET HIDDEN clause:

    ALTER EVENT event-name SET HIDDEN

Résultat

The event handler is permanently obfuscated in the event handler definition that is stored in the action column of the ISYSEVENT system table.

Exemple

The following statement hides the definition of the event handler secret_event:

ALTER EVENT secret_event SET HIDDEN

 See also