Answer Posted / hrindows@gmail.com
We can use the CREATE TRIGGER statement for creating a new trigger in MySQL.
SYNTAX:
CREATE TRIGGER trigger_name
(AFTER | BEFORE) (INSERT | UPDATE | DELETE)
ON table_name FOR EACH ROW
BEGIN
--variable declarations
--trigger code
END;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I install the latest mysql on ubuntu?
Is sql and mysql same?
Is mysql relational database?
What is the difference between mysql and oracle?
Is mysql good for large database?
What is the limit of mysql database?
What does mysql flush privileges do?
Can we write procedure in mysql?
What are date and time data types in mysql?
What is the use of procedure in mysql?
How to calculate the difference between two time values?
What is deterministic in mysql?
How do I backup mysql database on linux?
What is mysql command line?
What are programming functions?