salix/db/routines/srt/triggers/expedition_beforeUpdate.sql

11 lines
206 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `srt`.`expedition_beforeUpdate`
BEFORE UPDATE ON `expedition`
FOR EACH ROW
BEGIN
SET NEW.updated = util.VN_NOW();
END$$
DELIMITER ;