This tutorial explains how to use the DROP TRIGGER statement to drop a trigger in MySQL with syntax and examples.
Once you have created a trigger in MySQL, you might find that you need to remove it from the database. You can do this with the DROP TRIGGER statement.
The syntax to a drop a trigger in MySQL is:
DROP TRIGGER <strong>trigger_name</strong>;
The name of the trigger that you wish to drop.
Let's look at an example of how to drop a trigger in MySQL.
DROP TRIGGER orders_before_insert;
This example uses the ALTER TRIGGER statement to drop the trigger called orders_before_insert.
Copyright 2020. All Rights Reserved