SQL Anywhere® Server - Database Administration > Automating Tasks Using Schedules and Events
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