Once you create a trigger, it remains in the database until someone explicitly removes it. You must have ALTER permissions on the table associated with the trigger to drop the trigger.
To delete a trigger (Sybase Central)
Connect to the database as a user with DBA authority or as the owner of the trigger.
In the left pane, double-click Triggers.
Select the trigger and choose Edit » Delete.
Click Yes.
To delete a trigger (SQL)
Connect to a database as a user with DBA authority or as the owner of the trigger.
Execute a DROP TRIGGER statement.
The following statement removes the mytrigger trigger from the database:
DROP TRIGGER mytrigger; |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |