Creating an ASE Trigger

To create a new ASE trigger, you must have an open ASE connection profile.

  1. Under an ASE connection profile in Database Explorer, expand the Tables folder.

  2. Select a table on which you want to create the trigger and right-click on it. Select New|Trigger to invoke the Create Trigger Skeleton wizard.

  3. In the Name field, enter a name for the trigger.

  4. Select the type of SQL statement (update, insert, or delete) that is to fire the trigger.

    Add any description to the trigger in the Comments field.

  5. Click Finish.

    The trigger skeleton appears in SQL Editor and is created in the database. You can now proceed to edit the SQL code.

Learn More About Procedural Objects

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com