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
Can I install mysql on mac?
Why should I use mysql?
Is oracle better than mysql?
Is microsoft sql same as mysql?
How do I run mysql without installing?
Explain the difference between mysql_fetch_array(), mysql_fetch_object()?
What does do in mysql?
Suppose you have to collect the first name, middle name and the last name of students from the below table. But, you observe that there few missing values either in the first name, middle name and the last name columns. How will you return the first non-null values?
how to connect a php script with the mysql database?
How do I select a table in mysql?
How do I delete a table in mysql workbench?
Can we rename database in mysql?
Are stored procedures precompiled?
How do you say mysql?
Explain the difference between delete and truncate.