How to create a trigger in mysql?



How to create a trigger in mysql?..

Answer / Ankush Verma

To create a trigger in MySQL, use the CREATE TRIGGER statement. For example: `CREATE TRIGGER trigger_name AFTER INSERT ON table_name FOR EACH ROW BEGIN ... END;`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

Is mysql workbench a dbms?

1 Answers  


Which software is used for mysql?

1 Answers  


Why is it called mysql?

1 Answers  


How to check if value already exists in mysql database in php?

1 Answers  


What are the functions used to encrypt and decrypt the data present in mysql?

1 Answers  


Is mysql a distributed database?

1 Answers  


How MySQL is different from SQL?

17 Answers   HCL, IBM,


How to store binary data in mysql?

1 Answers  


How do I run mysql on a mac?

1 Answers  


What is the difference between truncate and delete?

1 Answers   DELL,


What are all the Common SQL Function?

1 Answers  


How to rename an existing table in mysql?

1 Answers  


Categories