Editing an Event

Edit an event to change the parameters, permissions, or other properties.

Prerequisites 

Before you can edit an event, be sure the data server that contains the event is running, and you created and established a connection to the data server.

  1. In Enterprise Explorer, under the database connection profile, expand the tree for a database.
  2. Under the Events folder, right-click the event you want to edit, and select Edit.
  3. Edit the event properties.
    Editor Tab Description
    General
    • Change the event Name.
    • Change to description in the Comment field.
    • Select Disable Event Handler to stop the event handler from executing when the scheduled time or triggering condition occurs.
    • Change the Execution Location.
      • All – the default value. All databases execute the event.

      • Consolidated – restricts the databases at which an event is handled.

      • Remote – restricts to remote sites the databases at which an event is handled.

    • Select a trigger type:
      • Manual – triggered manually.
      • Schedule – triggered according to a time schedule.
      • Condition – triggered if it satisfies a condition.
    • For Schedule, use Add, Edit, and Delete to enter the start date, start time, and repeating behavior for the trigger.
    • For Condition, select a system event and specify a corresponding name, operator, value, and unit for the condition.
    Source Manually edit the SQL code in the Source page. To display line numbers for the SQL code, right-click in the left margin, and choose Show Line Numbers.
    DDL View the DDL for the event (read-only).
  4. Select File > Save from the main WorkSpace menu.
Related concepts
Events
Related tasks
Creating a SQL Anywhere or Sybase IQ Event
Dropping an Event
Renaming an Event

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com