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

14 lines
398 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`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 ;