Created
April 23, 2014 16:38
-
-
Save hectorperez/11222734 to your computer and use it in GitHub Desktop.
Trigger example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TRIGGER IF EXISTS your_trigger_name; | |
DELIMITER $$ | |
CREATE TRIGGER your_trigger_name | |
AFTER INSERT ON your_table_name FOR EACH ROW | |
BEGIN | |
... | |
END$$ | |
DELIMITER; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment