Generating Table Trigger DDL Commands

Display the data description language SQL code for adding a trigger to a table in the database. The SQL code can be a useful reference and training tool.

Prerequisites
Database Version Table Trigger Privileges
SAP Sybase IQ 15.3 and 15.4 None.
SAP Sybase IQ 16.0 None.
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects > Tables, and then select Tables or Proxy Tables.
  3. Select a table from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Table or Proxy Table Properties view appears.
  4. In the left pane, select Triggers.
    Note: Triggers does not appear when the selected table is not a system store table.
  5. Select one or more triggers from the right pane and click Generate DDL.
    Note: Use Shift-click or Control-click to select multiple triggers.
    The DDL view shows the SQL code used to add the selected triggers to the table in the database.
Related tasks
Creating a Table Trigger
Deleting a Table Trigger
Viewing or Modifying Table Trigger Properties
Authenticating a Login Account for a Managed Resource
Related reference
Table Trigger Privilege Summary