You can modify an existing trigger using either Sybase Central or Interactive SQL. You must be the owner of the table on which the trigger is defined, or be DBA, or have ALTER permissions on the table and have RESOURCE authority.
In Sybase Central, you cannot rename an existing trigger directly. Instead, you must create a new trigger with the new name, copy the previous code to it, and then delete the old trigger.
Alternatively, you can use an ALTER TRIGGER statement to modify an existing trigger. You must include the entire new trigger in this statement (in the same syntax as in the CREATE TRIGGER statement that created the trigger).
For more information on altering database object properties, see Setting properties for database objects.
Open the Triggers folder.
Select the desired trigger. You can then do one of the following:
Edit the code directly on the SQL tab in the right pane.
Edit the code in a separate window by right-clicking the trigger in the right pane and choose Edit In New Window from the popup menu.
If you want to copy code between triggers, you can open a separate window for each trigger.
For information about translating a trigger, see Using Sybase Central to translate stored procedures.
Connect to the database.
Execute an ALTER TRIGGER statement. Include the entire new trigger in this statement.
For more information, see ALTER TRIGGER statement.