Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Create Trigger in phpMyAdmin

delimiter //
CREATE TRIGGER before_insert_money BEFORE INSERT ON money
FOR EACH
ROW
BEGIN
    UPDATE accounts SET balance=10.0;
END;
//
delimiter ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Create #Trigger #phpMyAdmin
ADD COMMENT
Topic
Name
6+2 =