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 » Maintaining your database » Automating tasks using schedules and events » Event handling tasks

 

Adding an event to a database

You can add events from Sybase Central and by using SQL.

 To add an event to a database (Sybase Central)
  1. Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority.

  2. In the left pane, right-click Events and choose New » Event.

  3. Follow the instructions in the Create Event Wizard.

    Detailed explanations for event options are explained in other tasks.

 To add an event to a database (SQL)
  1. Connect to the database as a user with DBA authority.

  2. Execute a CREATE EVENT statement.

    The CREATE EVENT statement contains many options, depending on the event you want to create. These are explained in detail in other tasks.

    See CREATE EVENT statement.