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
What is ndb in mysql?
Can you tell the difference between $message and $$message?
What are the benefits of mysql?
What are the limitations of mysql?
What is trigger in mysql?
What is query log in mysql?
Can python connect to mysql?
Can mongodb replace mysql?
What is max connection in mysql?
What is mysql connector used for?
Which storage engine is best in mysql?
How do I truncate all tables in mysql?
Explain % and _ inside like statement?
How show all tables in mysql query?
What is the difference between procedure and function in mysql?