Event handlers execute on a separate connection from the action
that triggered the event, and so do not interact with client applications.
They execute with the permissions of the creator of the event.
Developing Event Handlers
Event handlers, whether for scheduled events or for system event handling, contain compound statements, and are similar in many ways to stored procedures. You can add loops, conditional execution, and so on, and you can use the Sybase IQ debugger to debug event handlers.