salix/db/routines/vn/triggers/time_afterUpdate.sql

14 lines
396 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`time_afterUpdate`
AFTER UPDATE ON `time`
FOR EACH ROW
BEGIN
/*INSERT INTO vn.mail SET
`sender` = 'jgallego@verdnatura.es',
`replyTo` = 'jgallego@verdnatura.es',
`subject` = 'tabla time modificada',
`body` = CONCAT(account.myUser_getName(), ' ha modificado la tabla time ',
NEW.`dated`);*/
END$$
DELIMITER ;